@Beta
public interface HasTaskChildren
The Task.getSubmittedByTask()
on the child will typically return the parent,
but note there are other means of submitting tasks (e.g. background, in the same ExecutionContext
),
where the submitter has no API reference to the submitted tasks.
In general the children mechanism is preferred as it is easier to navigate
(otherwise you have to scan the ExecutionContext
to find tasks submitted by a task).
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<Task<?>> |
getChildren() |
java.lang.Iterable<Task<?>> getChildren()