Uses of Interface
org.jvnet.hudson.reactor.Task
-
-
Uses of Task in org.jvnet.hudson.reactor
Methods in org.jvnet.hudson.reactor that return Task Modifier and Type Method Description Task
TaskGraphBuilder.Handle. asTask()
Returns the task that this handle represents.Task
TaskGraphBuilder.Handle. notFatal()
Marks this task as non-fatal.Methods in org.jvnet.hudson.reactor that return types with arguments of type Task Modifier and Type Method Description abstract Iterable<? extends Task>
TaskBuilder. discoverTasks(Reactor reactor)
Returns all the tasks that this builder contributes to.Iterable<? extends Task>
TaskGraphBuilder. discoverTasks(Reactor reactor)
Methods in org.jvnet.hudson.reactor with parameters of type Task Modifier and Type Method Description void
Reactor. add(Task t)
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
Reactor. runTask(Task t)
Can be overridden by the subtype to enclose the entire execution of the task.Method parameters in org.jvnet.hudson.reactor with type arguments of type Task Modifier and Type Method Description void
Reactor. addAll(Iterable<? extends Task> _tasks)
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.
-