|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SourceConfigurable<T extends SourceConfigurable<T>>
This interface defines a class that can be configured with a collection of sources. It is up to the implementing object to decide how the source objects should be interpreted.
Sources are objects used as a input data for, for instance, an action task.
Method Summary | |
---|---|
T |
addSource(Object o)
Add one or several sources. |
T |
addSources(Object o)
This method does the same as addSource(Object) |
T |
clearSources()
Clear the collection of sources. |
T |
setRelativeToBase(RelativeLocation rel)
This property is set with the task's source's location relative to a base location if the task is run within a recursive task. |
T |
setSource(Object o)
Set one or several sources, discarding previously set sources. |
T |
setSources(Object o)
This method does the same as setSource(Object) |
Method Detail |
---|
T setSource(Object o)
o
- The source. If this is a Collection
or an
array, it is flattened (see
FlatteningList
), and all objects in
the collection or array are set.
this
T setSources(Object o)
setSource(Object)
o
- The source or sources.
this
T addSource(Object o)
o
- The source. If this is a Collection
or an
array, it is flattened (see
FlatteningList
), and all sources in the
collection or array are added.
this
T addSources(Object o)
addSource(Object)
o
- The source or sources.
this
T clearSources()
this
.T setRelativeToBase(RelativeLocation rel)
If the SourceConfigurable
(this object) is an action task factory
that is used in a recursive action task, the recursive action
task sets this property for each created task.
rel
- The source's location relative to the base location.
this
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |