| org.cougaar.planning.ldm.plan.NewComposition
All known Subclasses: org.cougaar.planning.ldm.plan.CompositionImpl,
NewComposition | public interface NewComposition extends Composition(Code) | | NewComposition Interface
Used to build complete Composition objects.
|
Method Summary | |
void | addAggregation(Aggregation singleagg) | void | setAggregations(Collection aggs) | void | setCombinedTask(MPTask newTask) Set the newly created task that represents all 'parent' tasks. | void | setDistributor(AllocationResultDistributor distributor) Allows the AllocationResult to be properly dispersed among the
original (or parent) tasks. | void | setIsPropagating(boolean isProp) Tells the infrastructure that all members of this composition should
be rescinded when one of the Aggregations is rescinded, this includes all
of the Aggregations (one for each parent task), the combined task and
planelements against the combined task.
If flag is set to False, the infrastructure does NOT rescind the other
Aggregations or the combined task. | void | setIsPropagating() |
addAggregation | void addAggregation(Aggregation singleagg)(Code) | | Add a single Aggregation to the existing collection
|
setIsPropagating | void setIsPropagating(boolean isProp)(Code) | | Tells the infrastructure that all members of this composition should
be rescinded when one of the Aggregations is rescinded, this includes all
of the Aggregations (one for each parent task), the combined task and
planelements against the combined task.
If flag is set to False, the infrastructure does NOT rescind the other
Aggregations or the combined task. It only removes the reference of the
rescinded Aggregation and its task (a parent task) from the composition
and the combined task.
Parameters: isProp - |
setIsPropagating | void setIsPropagating()(Code) | | |
|
|