org.schmant.task.confable
Interface TaskExecutorConfigurable<T extends TaskExecutorConfigurable<T>>

All Known Implementing Classes:
ForEachSourceTF, JavaWorkspaceBuilderTF, RecursiveActionTF, RecursiveProcessTF

public interface TaskExecutorConfigurable<T extends TaskExecutorConfigurable<T>>

This interface defines a class that can be configured with a TaskExecutor and an optional TaskDependency for tasks added to the executor.

Since:
0.5
Author:
Karl Gustafsson

Method Summary
 T setDependency(TaskDependency dep)
          Set a dependency for tasks added to the executor.
 T setTaskExecutor(TaskExecutor te)
          Set the task executor.
 

Method Detail

setTaskExecutor

T setTaskExecutor(TaskExecutor te)
Set the task executor.

Parameters:
te - A task executor.
Returns:
this.

setDependency

T setDependency(TaskDependency dep)
Set a dependency for tasks added to the executor.

Parameters:
dep - A dependency.
Returns:
this