task Group
Declares a task group of this Dag.
var staging = dag.taskGroup("staging");
var stage = staging.task("stage", Stage.class); // task "staging.stage"
extract.before(staging);Content copied to clipboard
Return
The group, to declare tasks in and to wire edges with.
Parameters
id
Group ID. Must contain only ASCII letters, digits, underscores, or dashes, and differ from every task and group ID in this Dag.
Throws
if id is not a valid group ID, or the Dag already has a task or task group with that ID. Also thrown if a task already has the ID of one of the group's join nodes. TaskGroupRef explains join nodes.