Uses of Interface
org.jvnet.hudson.reactor.Task
-
Uses of Task in org.jvnet.hudson.reactor
Modifier and TypeMethodDescriptionTaskGraphBuilder.Handle.asTask()
Returns the task that this handle represents.TaskGraphBuilder.Handle.notFatal()
Marks this task as non-fatal.Modifier and TypeMethodDescriptionTaskBuilder.discoverTasks
(Reactor reactor) Returns all the tasks that this builder contributes to.TaskGraphBuilder.discoverTasks
(Reactor reactor) Modifier and TypeMethodDescriptionvoid
Adds a newTask
to the reactor.void
ReactorListener.Aggregator.onTaskCompleted
(Task t) default void
ReactorListener.onTaskCompleted
(Task t) Notifies that the execution of the task is about to finish.void
ReactorListener.Aggregator.onTaskFailed
(Task t, Throwable err, boolean fatal) default void
ReactorListener.onTaskFailed
(Task t, Throwable err, boolean fatal) Notifies that the execution of the task have failed with an exception.void
ReactorListener.Aggregator.onTaskStarted
(Task t) default void
ReactorListener.onTaskStarted
(Task t) Notifies that the execution of the task is about to start.protected void
Can be overridden by the subtype to enclose the entire execution of the task.Modifier and TypeMethodDescriptionvoid
Adds a set of tasks to the reactor.static TaskBuilder
TaskBuilder.fromTasks
(Collection<? extends Task> tasks) Creates aTaskBuilder
that always discovers the given set of tasks.