public abstract class CompoundTask<T> extends BasicTask<java.util.List<T>> implements HasTaskChildren
Task that is comprised of other units of work: possibly a heterogeneous mix of Task,
 Runnable, Callable and Closure instances.
 
 This class holds the collection of child tasks, but subclasses have the responsibility of executing them in a
 sensible manner by implementing the abstract runJobs() method.BasicTask.SubmissionErrorCatchingExecutor, BasicTask.TaskFinalizerdescription, displayName, NO_OP, WARN_IF_NOT_RUN| Constructor and Description | 
|---|
| CompoundTask(java.util.Collection<?> jobs)Constructs a new compound task containing the specified units of work. | 
| CompoundTask(java.util.Map<java.lang.String,?> flags,
            java.util.Collection<?> jobs) | 
| CompoundTask(java.lang.Object... jobs)Constructs a new compound task containing the specified units of work. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.List<Task<?>> | getChildren() | 
| java.util.List<Task<? extends T>> | getChildrenTyped() | 
addListener, applyTagModifier, asTask, blockUntilEnded, blockUntilEnded, blockUntilStarted, blockUntilStarted, cancel, cancel, equals, get, get, get, getBlockingDetails, getBlockingTask, getDescription, getDisplayName, getEndTimeUtc, getExtraStatusText, getId, getInternalFuture, getJob, getListeners, getMutableTags, getProxyTarget, getQueuedTimeUtc, getStartTimeUtc, getStatusDetail, getStatusSummary, getSubmittedByTask, getSubmitTimeUtc, getTags, getThread, getUnchecked, getUnchecked, hashCode, ignoreIfNotRun, initInternalFuture, isBegun, isCancelled, isDone, isError, isQueued, isQueuedAndNotSubmitted, isQueuedOrSubmitted, isSubmitted, markQueued, resetBlockingDetails, resetBlockingTask, runListeners, setBlockingDetails, setBlockingTask, setEndTimeUtc, setExtraStatusText, setFinalizer, setJob, setStartTimeUtc, setSubmittedByTask, setSubmitTimeUtc, setThread, toString, uncancelpublic CompoundTask(java.lang.Object... jobs)
jobs - A potentially heterogeneous mixture of Runnable, Callable, Closure and Task can be provided.java.lang.IllegalArgumentException - if any of the passed child jobs is not one of the above typespublic CompoundTask(java.util.Collection<?> jobs)
jobs - A potentially heterogeneous mixture of Runnable, Callable, Closure and Task can be provided.java.lang.IllegalArgumentException - if any of the passed child jobs is not one of the above typespublic CompoundTask(java.util.Map<java.lang.String,?> flags,
            java.util.Collection<?> jobs)
public java.util.List<Task<?>> getChildren()
getChildren in interface HasTaskChildren