org.schmant.task.meta
Class ForEachSourceTF

java.lang.Object
  extended by org.schmant.task.stub.AbstractTaskFactory<T,U>
      extended by org.schmant.task.stub.AbstractActionTaskFactory<ForEachSourceTF,ForEachSourceTask>
          extended by 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

Constructor Summary
ForEachSourceTF()
           
 
Method Summary
protected  ForEachSourceTask createSpecification()
          Subclasses implement this to create the task specification object that this factory uses to configure the task that it is creating.
 ForEachSourceTF setDependency(TaskDependency td)
          Set a dependency for tasks added to the executor.
 ForEachSourceTF setDisableHeaderLogging(boolean b)
           
 ForEachSourceTF setTaskExecutor(TaskExecutor te)
          Set the task executor.
 ForEachSourceTF setTaskFactory(Object f)
          Set the task factory.
 
Methods inherited from class org.schmant.task.stub.AbstractActionTaskFactory
addSource, addSources, clearSources, setRelativeToBase, setSource, setSources
 
Methods inherited from class org.schmant.task.stub.AbstractTaskFactory
copy, create, 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

ForEachSourceTF

public ForEachSourceTF()
Method Detail

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>