| org.cougaar.logistics.plugin.inventory.ExpanderModule
All known Subclasses: org.cougaar.logistics.plugin.inventory.SupplyExpander,
ExpanderModule | public interface ExpanderModule (Code) | | The ExpanderModule dictates the functionality needed by the
InventoryPlugin . The Expander should extend the
InventoryModule for convenience and call super(InventoryPlugin).
The constructor of the Expander will take a single argument, a
reference to the plugin.
|
checkCommStatusAlarms | void checkCommStatusAlarms()(Code) | | Check the alarm status during communications loss.
|
determineCommStatus | void determineCommStatus(IncrementalSubscription commStatusSub, Collection tasks)(Code) | | Determine the state of comms, e.g., is it up/down, did it come back up?
Parameters: commStatusSub - Parameters: tasks - |
expandAndDistributeProjections | boolean expandAndDistributeProjections(Collection tasks)(Code) | | Expand ProjectSupply tasks into ProjectWithdraw tasks. The
ProjectWithdraw tasks are added to the inventory asset's
behavior group.
true if new projections were processed |
expandAndDistributeRequisitions | void expandAndDistributeRequisitions(Collection tasks)(Code) | | Expand Supply tasks into Withdraw tasks. The Withdraw tasks are
added to the inventory asset's behavior group.
|
handleRemovedDispositions | void handleRemovedDispositions(Collection dispositions)(Code) | | Respond to removed dispostions, e.g, remove related predictions.
Parameters: dispositions - |
handleRemovedProjections | boolean handleRemovedProjections(Collection tasks)(Code) | | Given removed ProjectSupply tasks, remove ProjectWithdraw
child task from the inventory's behavior group.
true if removed projections were processed. |
handleRemovedRequisitions | void handleRemovedRequisitions(Collection tasks)(Code) | | Remove Withdraw task from
the inventory's behavior group.
|
updateAllocationResult | void updateAllocationResult(IncrementalSubscription sub)(Code) | | Given a subscription to the expansions, update the
PlanElements>
|
updateChangedProjections | void updateChangedProjections(Collection tasks)(Code) | | Given changed ProjectSupply tasks, ProjectWithdraw tasks are updated
and changed in the inventory's behavior group.
|
updateChangedRequisitions | void updateChangedRequisitions(Collection tasks)(Code) | | Given changed Supply tasks, Withdraw tasks are updated and
changed in the inventory's behavior group.
|
|
|