public abstract class TaskBuilder extends Object
Modifier and Type | Field and Description |
---|---|
static TaskBuilder |
EMPTY_BUILDER
TaskBuilder that contributes no task. |
Constructor and Description |
---|
TaskBuilder() |
Modifier and Type | Method and Description |
---|---|
abstract Iterable<? extends Task> |
discoverTasks(Reactor reactor)
Returns all the tasks that this builder contributes to.
|
static TaskBuilder |
fromTasks(Collection<? extends Task> tasks)
Creates a
TaskBuilder that always discovers the given set of tasks. |
static TaskBuilder |
union(Iterable<? extends TaskBuilder> builders) |
static TaskBuilder |
union(TaskBuilder... builders) |
public static final TaskBuilder EMPTY_BUILDER
TaskBuilder
that contributes no task.public abstract Iterable<? extends Task> discoverTasks(Reactor reactor) throws IOException
IOException
public static TaskBuilder fromTasks(Collection<? extends Task> tasks)
TaskBuilder
that always discovers the given set of tasks.public static TaskBuilder union(Iterable<? extends TaskBuilder> builders)
public static TaskBuilder union(TaskBuilder... builders)
Copyright © 2013. All rights reserved.