All Downloads are FREE. Search and download functionalities are using the official Maven repository.

brooklyn.management.HasTaskChildren Maven / Gradle / Ivy

package brooklyn.management;

import com.google.common.annotations.Beta;

/** 
 * Interface marks tasks which have explicit children,
 * typically where the task defines the ordering of running those children tasks
 * 

* The {@link 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 {@link 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 {@link ExecutionContext} to find tasks submitted by a task). */ @Beta // in 0.6.0 public interface HasTaskChildren { public Iterable> getChildren(); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy