Package org.jvnet.hudson.reactor
Interface TaskGraphBuilder.Handle
- All Superinterfaces:
Milestone
- Enclosing class:
- TaskGraphBuilder
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
Modifier and TypeMethodDescriptionasTask()
Returns the task that this handle represents.attains
(Collection<? extends Milestone> m) Designates that the execution of this task contributes to the given milestone.notFatal()
Marks this task as non-fatal.requires
(Collection<? extends Milestone> m) Adds a pre-requisite to this task.Adds pre-requisites to this task.
-
Method Details
-
requires
Adds a pre-requisite to this task. -
requires
Adds pre-requisites to this task. -
requires
-
attains
Designates that the execution of this task contributes to the given milestone. -
attains
-
asTask
Task asTask()Returns the task that this handle represents. -
notFatal
Task notFatal()Marks this task as non-fatal. SeeTask.failureIsFatal()
.
-