Index
All Classes and Interfaces|All Packages|Serialized Form
A
- add(String, Executable) - Method in class org.jvnet.hudson.reactor.TaskGraphBuilder
-
Adds a new work unit and returns its handle, which can then be used to set up dependencies among them.
- add(Task) - Method in class org.jvnet.hudson.reactor.Reactor
-
Adds a new
Task
to the reactor. - addAll(Iterable<? extends Task>) - Method in class org.jvnet.hudson.reactor.Reactor
-
Adds a set of tasks to the reactor.
- Aggregator(Collection<ReactorListener>) - Constructor for class org.jvnet.hudson.reactor.ReactorListener.Aggregator
- asTask() - Method in interface org.jvnet.hudson.reactor.TaskGraphBuilder.Handle
-
Returns the task that this handle represents.
- attains() - Method in interface org.jvnet.hudson.reactor.Task
-
Indicates the milestones that this initializer contributes.
- attains(Collection<? extends Milestone>) - Method in interface org.jvnet.hudson.reactor.TaskGraphBuilder.Handle
- attains(Milestone) - Method in interface org.jvnet.hudson.reactor.TaskGraphBuilder.Handle
-
Designates that the execution of this task contributes to the given milestone.
- attains(Milestone...) - Method in class org.jvnet.hudson.reactor.TaskGraphBuilder
-
Given milestones will be set as achievements for the next task.
D
- discoverTasks(Reactor) - Method in class org.jvnet.hudson.reactor.TaskBuilder
-
Returns all the tasks that this builder contributes to.
- discoverTasks(Reactor) - Method in class org.jvnet.hudson.reactor.TaskGraphBuilder
E
- EMPTY_BUILDER - Static variable in class org.jvnet.hudson.reactor.TaskBuilder
-
TaskBuilder
that contributes no task. - equals(Object) - Method in class org.jvnet.hudson.reactor.MilestoneImpl
- Executable - Interface in org.jvnet.hudson.reactor
-
Represents code that can be executed.
- execute(Executor) - Method in class org.jvnet.hudson.reactor.Reactor
- execute(Executor, ReactorListener) - Method in class org.jvnet.hudson.reactor.Reactor
-
Executes this initialization session with the given executor.
F
- failureIsFatal() - Method in interface org.jvnet.hudson.reactor.Task
-
Returns true if the failure of this task is fatal and should break the reactor.
- followedBy() - Method in class org.jvnet.hudson.reactor.TaskGraphBuilder
-
Indicates that the task to be added requires the completion of the last added task.
- fromTasks(Collection<? extends Task>) - Static method in class org.jvnet.hudson.reactor.TaskBuilder
-
Creates a
TaskBuilder
that always discovers the given set of tasks.
G
- getDisplayName() - Method in interface org.jvnet.hudson.reactor.Task
-
Human readable description of this task.
H
- hashCode() - Method in class org.jvnet.hudson.reactor.MilestoneImpl
I
- iterator() - Method in class org.jvnet.hudson.reactor.Reactor
M
- Milestone - Interface in org.jvnet.hudson.reactor
-
Marker interface that indicates a milestone in the reactor process.
- MilestoneImpl - Class in org.jvnet.hudson.reactor
-
Default
Milestone
implementation. - MilestoneImpl() - Constructor for class org.jvnet.hudson.reactor.MilestoneImpl
-
Only compare equal with this
MilestoneImpl
and nothing else. - MilestoneImpl(String) - Constructor for class org.jvnet.hudson.reactor.MilestoneImpl
-
Compares equal with other
MilestoneImpl
s with the same ID.
N
- NOOP - Static variable in interface org.jvnet.hudson.reactor.Executable
-
No-op implementation.
- NOOP - Static variable in interface org.jvnet.hudson.reactor.ReactorListener
- notFatal() - Method in interface org.jvnet.hudson.reactor.TaskGraphBuilder.Handle
-
Marks this task as non-fatal.
- notFatal() - Method in class org.jvnet.hudson.reactor.TaskGraphBuilder
O
- onAttained(Milestone) - Method in class org.jvnet.hudson.reactor.ReactorListener.Aggregator
- onAttained(Milestone) - Method in interface org.jvnet.hudson.reactor.ReactorListener
-
Indicates that the following milestone was attained.
- onTaskCompleted(Task) - Method in class org.jvnet.hudson.reactor.ReactorListener.Aggregator
- onTaskCompleted(Task) - Method in interface org.jvnet.hudson.reactor.ReactorListener
-
Notifies that the execution of the task is about to finish.
- onTaskFailed(Task, Throwable, boolean) - Method in class org.jvnet.hudson.reactor.ReactorListener.Aggregator
- onTaskFailed(Task, Throwable, boolean) - Method in interface org.jvnet.hudson.reactor.ReactorListener
-
Notifies that the execution of the task have failed with an exception.
- onTaskStarted(Task) - Method in class org.jvnet.hudson.reactor.ReactorListener.Aggregator
- onTaskStarted(Task) - Method in interface org.jvnet.hudson.reactor.ReactorListener
-
Notifies that the execution of the task is about to start.
- org.jvnet.hudson.reactor - package org.jvnet.hudson.reactor
R
- Reactor - Class in org.jvnet.hudson.reactor
-
Executes a set of
Task
s that dependend on each other. - Reactor(Collection<? extends TaskBuilder>) - Constructor for class org.jvnet.hudson.reactor.Reactor
- Reactor(TaskBuilder...) - Constructor for class org.jvnet.hudson.reactor.Reactor
- ReactorException - Exception in org.jvnet.hudson.reactor
-
Used to tunnel application-thrown
Throwable
(Error or Exception) to the caller. - ReactorListener - Interface in org.jvnet.hudson.reactor
-
Receives callback during the
Reactor.execute(Executor, ReactorListener)
. - ReactorListener.Aggregator - Class in org.jvnet.hudson.reactor
-
Bundles multiple listeners into one.
- requires() - Method in interface org.jvnet.hudson.reactor.Task
-
Indicates the milestones necessary before executing this.
- requires(Collection<? extends Milestone>) - Method in interface org.jvnet.hudson.reactor.TaskGraphBuilder.Handle
- requires(Milestone) - Method in interface org.jvnet.hudson.reactor.TaskGraphBuilder.Handle
-
Adds a pre-requisite to this task.
- requires(Milestone...) - Method in interface org.jvnet.hudson.reactor.TaskGraphBuilder.Handle
-
Adds pre-requisites to this task.
- requires(Milestone...) - Method in class org.jvnet.hudson.reactor.TaskGraphBuilder
-
Given milestones will be set as pre-requisites for the next task to be added.
- run(Reactor) - Method in interface org.jvnet.hudson.reactor.Executable
-
Executes a task.
- runTask(Task) - Method in class org.jvnet.hudson.reactor.Reactor
-
Can be overridden by the subtype to enclose the entire execution of the task.
S
T
- Task - Interface in org.jvnet.hudson.reactor
-
One initialization task
- TaskBuilder - Class in org.jvnet.hudson.reactor
- TaskBuilder() - Constructor for class org.jvnet.hudson.reactor.TaskBuilder
- TaskGraphBuilder - Class in org.jvnet.hudson.reactor
-
Builder/fluent-API pattern to build up a series of related tasks.
- TaskGraphBuilder() - Constructor for class org.jvnet.hudson.reactor.TaskGraphBuilder
- TaskGraphBuilder.Handle - Interface in org.jvnet.hudson.reactor
-
Handle to the task.
- toString() - Method in class org.jvnet.hudson.reactor.MilestoneImpl
U
- union(Iterable<? extends TaskBuilder>) - Static method in class org.jvnet.hudson.reactor.TaskBuilder
- union(TaskBuilder...) - Static method in class org.jvnet.hudson.reactor.TaskBuilder
All Classes and Interfaces|All Packages|Serialized Form