TaskNode

A node in a TaskGraph which can be either an individual task or a sub-graph.

public interface TaskNode

Types

Builder
Link copied to clipboard
class Builder
DefinedTask
Link copied to clipboard

This is an abstraction above TaskDefinition that allows more flexibility for the implementing class name.

interface DefinedTask
GraphType
Link copied to clipboard

The type of graph, dictating how a TaskGraph will be evaluated.

enum GraphType
TaskDefinition
Link copied to clipboard

An individual task.

class TaskDefinition implements TaskNode, TaskNode.DefinedTask
TaskGraph
Link copied to clipboard

A graph or sub-graph of tasks.

class TaskGraph implements TaskNode, Iterable<TaskNode>

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)
singleton
Link copied to clipboard

Creates a TaskGraph with a single Task .

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

Creates a TaskDefinition for the provided Task class.

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

Inheritors

TaskNode
Link copied to clipboard
TaskNode
Link copied to clipboard