| |
|
| org.cougaar.lib.callback.UTILAllocationListener
All known Subclasses: org.cougaar.logistics.plugin.trans.base.SequentialPlannerPlugin, org.cougaar.glm.plugins.tools.GLMTestingStimulatorPlugin,
handleRemovedAlloc | void handleRemovedAlloc(Allocation alloc)(Code) | | Called when an allocation is removed from the cluster.
I.e. an upstream cluster removed an allocation, and this
has resulted in this allocation being removed.
If the plugin maintains some local state of the availability
of assets, it should update them here.
|
handleSuccessfulAlloc | void handleSuccessfulAlloc(Allocation alloc)(Code) | | What to do with a successful allocation.
For implementers who DON'T extend UTILPluginAdapter,
this is equivalent to updateAllocationResult and therefore
should be implemented with an empty body.
Called after updateAllocationResult when needToRescind returns FALSE.
Implementers need to take into consideration that
the asset chosen last time is not available this time.
Parameters: alloc - the returned successful allocation See Also: UTILAllocationListener.needToRescind See Also: org.cougaar.lib.filter.UTILAllocatorPluginAdapter.needToRescind |
interestingNotification | boolean interestingNotification(Task t)(Code) | | Filter for task notifications on allocations that are
interesting.
Parameters: t - task to check for notification boolean true if task is interesting |
publishRemovalOfAllocation | void publishRemovalOfAllocation(Allocation alloc)(Code) | | Public version of publishRemove
Called when needToRescind returns TRUE.
Parameters: alloc - the allocation to remove... |
updateAllocationResult | void updateAllocationResult(PlanElement cpe)(Code) | | Default implementation automatically moves the
reported allocation result (AR) to the estimated AR on a
plan element that was previously allocated.
Called when needToRescind returns FALSE.
(This is the COUGAAR notification mechanism.)
Parameters: cpe - the PlanElement that needs to be updated. See Also: UTILAllocationListener.needToRescind |
|
|
|