withTask

Adds a task to the current graph.

Return

this builder with the new task appended.

Parameters

implementingClass

the class that implements the task.

name

the name of the task.

TaskNode.Builder withTask(String name, Class<? extends TaskimplementingClass)

Adds a task to the current graph.

Return

this builder with the new task appended.

Parameters

task

the task node to add

TaskNode.Builder withTask(TaskNode task)