public static interface TaskGraphBuilder.Handle extends Milestone
This interface is the fluent interface pattern, and all the methods return this
to enable chaining.
Modifier and Type | Method and Description |
---|---|
Task |
asTask()
Returns the task that this handle represents.
|
TaskGraphBuilder.Handle |
attains(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(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.
|
TaskGraphBuilder.Handle requires(Milestone m)
TaskGraphBuilder.Handle requires(Milestone... m)
TaskGraphBuilder.Handle requires(Collection<? extends Milestone> m)
TaskGraphBuilder.Handle attains(Milestone m)
TaskGraphBuilder.Handle attains(Collection<? extends Milestone> m)
Task asTask()
Task notFatal()
Task.failureIsFatal()
.Copyright © 2017. All rights reserved.