singleton

Creates a TaskGraph with a single Task .

Parameters

implementingClass

The Task class

name

The human-friendly name of the task.

static TaskNode.TaskGraph singleton(TaskNode.GraphType type, String name, Class<? extends TaskimplementingClass)