Modifier and Type | Method and Description |
---|---|
Task |
TaskGraphBuilder.Handle.asTask()
Returns the task that this handle represents.
|
Task |
TaskGraphBuilder.Handle.notFatal()
Marks this task as non-fatal.
|
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
void |
Reactor.add(Task t)
Adds a new
Task to the reactor. |
void |
ReactorListener.onTaskCompleted(Task t)
Notifies that the execution of the task is about to finish.
|
void |
ReactorListener.Aggregator.onTaskCompleted(Task t) |
void |
ReactorListener.onTaskFailed(Task t,
Throwable err,
boolean fatal)
Notifies that the execution of the task have failed with an exception.
|
void |
ReactorListener.Aggregator.onTaskFailed(Task t,
Throwable err,
boolean fatal) |
void |
ReactorListener.onTaskStarted(Task t)
Notifies that the execution of the task is about to start.
|
void |
ReactorListener.Aggregator.onTaskStarted(Task t) |
protected void |
Reactor.runTask(Task t)
Can be overridden by the subtype to enclose the entire execution of the task.
|
Modifier and Type | Method and Description |
---|---|
void |
Reactor.addAll(Iterable<? extends Task> _tasks)
Adds a set of taks to the reactor.
|
static TaskBuilder |
TaskBuilder.fromTasks(Collection<? extends Task> tasks)
Creates a
TaskBuilder that always discovers the given set of tasks. |
Copyright © 2014. All rights reserved.