|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.schmant.task.stub.AbstractTaskFactory<T,U> org.schmant.task.stub.AbstractActionTaskFactory<T,U>
public abstract class AbstractActionTaskFactory<T extends AbstractActionTaskFactory<T,U>,U extends ActionTaskSpec<U>>
This is a starting point for ActionTaskFactory
implementations.
Constructor Summary | |
---|---|
AbstractActionTaskFactory()
|
Method Summary | |
---|---|
T |
addSource(Object o)
Add one or several sources. |
T |
addSources(Object o)
This method does the same as SourceConfigurable.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 SourceConfigurable.setSource(Object) |
Methods inherited from class org.schmant.task.stub.AbstractTaskFactory |
---|
copy, create, createSpecification, getLastCreated, getSpecification, getThis, run, setLogFooter, setLogHeader, setReportLevel, setTraceLogging, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.schmant.task.TaskFactory |
---|
copy, create, getLastCreated, getSpecification |
Methods inherited from interface org.schmant.task.confable.LoggingConfigurable |
---|
setLogFooter, setLogHeader, setReportLevel, setTraceLogging |
Methods inherited from interface org.schmant.task.TaskRunnable |
---|
run |
Constructor Detail |
---|
public AbstractActionTaskFactory()
Method Detail |
---|
public final T setSource(Object o)
SourceConfigurable
setSource
in interface SourceConfigurable<T extends AbstractActionTaskFactory<T,U>>
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
public final T setSources(Object o)
SourceConfigurable
SourceConfigurable.setSource(Object)
setSources
in interface SourceConfigurable<T extends AbstractActionTaskFactory<T,U>>
o
- The source or sources.
this
public final T addSource(Object o)
SourceConfigurable
addSource
in interface SourceConfigurable<T extends AbstractActionTaskFactory<T,U>>
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
public final T addSources(Object o)
SourceConfigurable
SourceConfigurable.addSource(Object)
addSources
in interface SourceConfigurable<T extends AbstractActionTaskFactory<T,U>>
o
- The source or sources.
this
public final T clearSources()
SourceConfigurable
clearSources
in interface SourceConfigurable<T extends AbstractActionTaskFactory<T,U>>
this
.public final T setRelativeToBase(RelativeLocation rel)
SourceConfigurable
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.
setRelativeToBase
in interface SourceConfigurable<T extends AbstractActionTaskFactory<T,U>>
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 |