|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface TaskGraphBuilder.Handle
Handle to the task. Call methods on this interface to set up dependencies among tasks.
This interface is the fluent interface pattern, and all the methods return this
to enable chaining.
Method Summary | |
---|---|
Task |
asTask()
Returns the task that this handle represents. |
TaskGraphBuilder.Handle |
attains(java.util.Collection<? extends Milestone> m)
|
TaskGraphBuilder.Handle |
attains(Milestone m)
Designates that the execution of this task contributes to the given milestone. |
Task |
notFatal()
Marks this task as non-fatal. |
TaskGraphBuilder.Handle |
requires(java.util.Collection<? extends Milestone> m)
|
TaskGraphBuilder.Handle |
requires(Milestone... m)
Adds pre-requisites to this task. |
TaskGraphBuilder.Handle |
requires(Milestone m)
Adds a pre-requisite to this task. |
Method Detail |
---|
TaskGraphBuilder.Handle requires(Milestone m)
TaskGraphBuilder.Handle requires(Milestone... m)
TaskGraphBuilder.Handle requires(java.util.Collection<? extends Milestone> m)
TaskGraphBuilder.Handle attains(Milestone m)
TaskGraphBuilder.Handle attains(java.util.Collection<? extends Milestone> m)
Task asTask()
Task notFatal()
Task.failureIsFatal()
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |