TaskGraph

A graph or sub-graph of tasks.

class TaskGraph implements TaskNode, Iterable<TaskNode>

Constructors

TaskGraph
Link copied to clipboard
void TaskGraph(TaskNode.GraphType type, List<TaskNodegraph)

Functions

build
Link copied to clipboard

Build a new TaskGraph .

Builder
Link copied to clipboard
static TaskNode.Builder Builder(TaskNode.GraphType type)
emptyGraph
Link copied to clipboard

Creates an empty TaskGraph .

static TaskNode.TaskGraph emptyGraph(TaskNode.GraphType type)
forEach
Link copied to clipboard
void forEach(Consumer<? extends Objectaction)
getType
Link copied to clipboard
TaskNode.GraphType getType()
isEmpty
Link copied to clipboard
boolean isEmpty()
iterator
Link copied to clipboard
Iterator<TaskNodeiterator()
abstract Iterator<Titerator()
listIterator
Link copied to clipboard
ListIterator<TaskNodelistIterator()
singleton
Link copied to clipboard

Creates a TaskGraph with a single Task .

static TaskNode.TaskGraph singleton(TaskNode.GraphType type, String name, Class<? extends TaskimplementingClass)
spliterator
Link copied to clipboard
Spliterator<Tspliterator()
task
Link copied to clipboard

Creates a TaskDefinition for the provided Task class.

static TaskNode.TaskDefinition task(String name, Class<? extends TaskimplementingClass)

Properties

type
Link copied to clipboard
private final TaskNode.GraphType type