org.schmant.task.meta
Class ForEachSourceTF
java.lang.Object
org.schmant.task.stub.AbstractTaskFactory<T,U>
org.schmant.task.stub.AbstractActionTaskFactory<ForEachSourceTF,ForEachSourceTask>
org.schmant.task.meta.ForEachSourceTF
- All Implemented Interfaces:
- ActionTaskConfigurable<ForEachSourceTF>, ActionTaskFactory<ForEachSourceTF,ForEachSourceTask>, LoggingConfigurable<ForEachSourceTF>, SourceConfigurable<ForEachSourceTF>, TaskExecutorConfigurable<ForEachSourceTF>, TaskFactoryConfigurable<ForEachSourceTF>, TaskFactory<ForEachSourceTF,ForEachSourceTask>, TaskRunnable
public final class ForEachSourceTF
- extends AbstractActionTaskFactory<ForEachSourceTF,ForEachSourceTask>
- implements TaskExecutorConfigurable<ForEachSourceTF>, TaskFactoryConfigurable<ForEachSourceTF>
See ForEachSourceTF
- Since:
- 0.6
- Author:
- Karl Gustafsson
- Task_package:
- org.schmant.task.base
Methods inherited from class org.schmant.task.stub.AbstractTaskFactory |
copy, create, getLastCreated, getSpecification, getThis, run, setLogFooter, setLogHeader, setReportLevel, setTraceLogging, toString |
ForEachSourceTF
public ForEachSourceTF()
setDisableHeaderLogging
public ForEachSourceTF setDisableHeaderLogging(boolean b)
setTaskFactory
public ForEachSourceTF setTaskFactory(Object f)
- Description copied from interface:
TaskFactoryConfigurable
- Set the task factory. This may be a task factory that creates tasks of
the type expected by the object implementing this method, or a closure.
- Specified by:
setTaskFactory
in interface TaskFactoryConfigurable<ForEachSourceTF>
- Parameters:
f
- A task factory or a closure.
- Returns:
this
setTaskExecutor
public ForEachSourceTF setTaskExecutor(TaskExecutor te)
- Description copied from interface:
TaskExecutorConfigurable
- Set the task executor.
- Specified by:
setTaskExecutor
in interface TaskExecutorConfigurable<ForEachSourceTF>
- Parameters:
te
- A task executor.
- Returns:
this
.
setDependency
public ForEachSourceTF setDependency(TaskDependency td)
- Description copied from interface:
TaskExecutorConfigurable
- Set a dependency for tasks added to the executor.
- Specified by:
setDependency
in interface TaskExecutorConfigurable<ForEachSourceTF>
- Parameters:
td
- A dependency.
- Returns:
this
createSpecification
protected ForEachSourceTask createSpecification()
- Description copied from class:
AbstractTaskFactory
- Subclasses implement this to create the task specification object that
this factory uses to configure the task that it is creating.
- Specified by:
createSpecification
in class AbstractTaskFactory<ForEachSourceTF,ForEachSourceTask>