| java.lang.Object org.cougaar.planning.ldm.plan.SubTaskResult
SubTaskResult | public class SubTaskResult implements java.io.Serializable(Code) | | SubTaskResults
Allows access to the sub-task's allocation result information
used to aggregate this Expansion's latest reported allocationresult
|
Constructor Summary | |
public | SubTaskResult(Task task, boolean haschanged, AllocationResult result) Simple Constructor for saving state of a single sub-task's results
when the AllocationResult Aggregator is run. |
SubTaskResult | public SubTaskResult(Task task, boolean haschanged, AllocationResult result)(Code) | | Simple Constructor for saving state of a single sub-task's results
when the AllocationResult Aggregator is run. The boolean changed
keeps track of whether this allocationresult changed to cause the
re-aggregation.
Parameters: task - the subtask of the workflow Parameters: haschanged - whether this is a new allocationresult causing the recalculation Parameters: result - the AllocationResult used to Aggregate the results of the workflow |
getAllocationResult | public AllocationResult getAllocationResult()(Code) | | AllocationResult The AllocationResult for this sub-task used by the Aggregator * |
getTask | public Task getTask()(Code) | | Task The sub-task this information is about. * |
hasChanged | public boolean hasChanged()(Code) | | boolean Whether this was a new AllocationResult that caused the re-aggregation * |
|
|