org.schmant.task.confable
Interface LibPathConfigurable<T extends LibPathConfigurable<T>>

All Known Subinterfaces:
AntConfigurable<T>
All Known Implementing Classes:
AntTF

public interface LibPathConfigurable<T extends LibPathConfigurable<T>>

This interface defines an object that can be configured with a library path. The path entries are stored in a list that contains the entries in the order that they were added.

In addition to manually added entries, library path entries can also be added from PathDecorator:s. Entries from decorators are added after the manually added entries. (The implementing class may have other kinds of decorators that add entries to the head of the list.)

Since:
0.5
Author:
Karl Gustafsson

Method Summary
 T addLibPathDecorator(PathDecorator<?,?> cd)
          Add one path decorator.
 T addLibPathDecorators(Object o)
          Add one or several library path decorators.
 T addLibPathEntries(Object o)
          This method does the same as addLibPathEntry(Object).
 T addLibPathEntry(Object o)
          Add one entry to the library path.
 T clearLibPathDecorators()
           
 T clearLibPathEntries()
           
 

Method Detail

addLibPathEntry

T addLibPathEntry(Object o)
Add one entry to the library path.

Parameters:
o - The entry or entries. If this is a Collection or an array, it is flattened (see FlatteningList). It is up to the object using this to decide how the lib path entry objects should be interpreted.
Returns:
this

addLibPathEntries

T addLibPathEntries(Object o)
This method does the same as addLibPathEntry(Object).

Parameters:
o - The entry or entries. If this is a Collection or an array, it is flattened (see FlatteningList). It is up to the object using this to decide how the lib path entry objects should be interpreted.
Returns:
this

clearLibPathEntries

T clearLibPathEntries()

addLibPathDecorator

T addLibPathDecorator(PathDecorator<?,?> cd)
Add one path decorator.

Returns:
this

addLibPathDecorators

T addLibPathDecorators(Object o)
Add one or several library path decorators.

Parameters:
o - A library path decorator or an array or Collection of library path decorators (PathDecorator objects).
Returns:
this

clearLibPathDecorators

T clearLibPathDecorators()