task

Creates a TaskDefinition for the provided Task class.

Parameters

name

The human-friendly name of the task.

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