org.schmant.task.meta
Class RecursiveActionTF

java.lang.Object
  extended by org.schmant.task.stub.AbstractTaskFactory<T,U>
      extended by org.schmant.task.stub.AbstractActionTaskFactory<T,U>
          extended by org.schmant.task.stub.AbstractRecursiveActionTaskFactory<RecursiveActionTF,RecursiveActionTask>
              extended by org.schmant.task.meta.RecursiveActionTF
All Implemented Interfaces:
ActionTaskConfigurable<RecursiveActionTF>, ActionTaskFactory<RecursiveActionTF,RecursiveActionTask>, LoggingConfigurable<RecursiveActionTF>, SourceConfigurable<RecursiveActionTF>, TaskExecutorConfigurable<RecursiveActionTF>, TaskFactoryConfigurable<RecursiveActionTF>, RecursiveActionTaskConfigurable<RecursiveActionTF>, RecursiveActionTaskFactory<RecursiveActionTF,RecursiveActionTask>, TaskFactory<RecursiveActionTF,RecursiveActionTask>, TaskRunnable

public final class RecursiveActionTF
extends AbstractRecursiveActionTaskFactory<RecursiveActionTF,RecursiveActionTask>
implements TaskFactoryConfigurable<RecursiveActionTF>, TaskExecutorConfigurable<RecursiveActionTF>

Factory for RecursiveActionTask:s.

See RecursiveActionTF

Since:
0.5
Author:
Karl Gustafsson
See Also:
RecursiveActionTask
Task_package:
org.schmant.task.base

Constructor Summary
RecursiveActionTF()
           
 
Method Summary
protected  RecursiveActionTask createSpecification()
          Subclasses implement this to create the task specification object that this factory uses to configure the task that it is creating.
 RecursiveActionTF setDependency(TaskDependency dep)
          Set a dependency for tasks added to the executor.
 RecursiveActionTF setTaskExecutor(TaskExecutor te)
          Set the task executor.
 RecursiveActionTF setTaskFactory(Object tf)
          Set the task factory.
 
Methods inherited from class org.schmant.task.stub.AbstractRecursiveActionTaskFactory
setDepthFirstIterator, setDisableHeaderLogging
 
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
 
Methods inherited from interface org.schmant.task.confable.SourceConfigurable
addSource, addSources, clearSources, setRelativeToBase, setSource, setSources
 

Constructor Detail

RecursiveActionTF

public RecursiveActionTF()
Method Detail

setTaskFactory

public RecursiveActionTF setTaskFactory(Object tf)
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<RecursiveActionTF>
Parameters:
tf - A task factory or a closure.
Returns:
this

setTaskExecutor

public RecursiveActionTF setTaskExecutor(TaskExecutor te)
Description copied from interface: TaskExecutorConfigurable
Set the task executor.

Specified by:
setTaskExecutor in interface TaskExecutorConfigurable<RecursiveActionTF>
Parameters:
te - A task executor.
Returns:
this.

setDependency

public RecursiveActionTF setDependency(TaskDependency dep)
Description copied from interface: TaskExecutorConfigurable
Set a dependency for tasks added to the executor.

Specified by:
setDependency in interface TaskExecutorConfigurable<RecursiveActionTF>
Parameters:
dep - A dependency.
Returns:
this

createSpecification

protected RecursiveActionTask 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<RecursiveActionTF,RecursiveActionTask>