Package org.jvnet.hudson.reactor
Class TaskBuilder
java.lang.Object
org.jvnet.hudson.reactor.TaskBuilder
- Direct Known Subclasses:
TaskGraphBuilder
- Author:
- Kohsuke Kawaguchi
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondiscoverTasks
(Reactor reactor) Returns all the tasks that this builder contributes to.static TaskBuilder
fromTasks
(Collection<? extends Task> tasks) Creates aTaskBuilder
that always discovers the given set of tasks.static TaskBuilder
union
(Iterable<? extends TaskBuilder> builders) static TaskBuilder
union
(TaskBuilder... builders)
-
Field Details
-
EMPTY_BUILDER
TaskBuilder
that contributes no task.
-
-
Constructor Details
-
TaskBuilder
public TaskBuilder()
-
-
Method Details
-
discoverTasks
Returns all the tasks that this builder contributes to.- Throws:
IOException
-
fromTasks
Creates aTaskBuilder
that always discovers the given set of tasks. -
union
-
union
-