| org.cougaar.lib.vishnu.client.ResultListener
All known Subclasses: org.cougaar.lib.vishnu.client.VishnuPlugin,
ResultListener | public interface ResultListener (Code) | | What the plugin must do to handle scheduler results
See Also: ResultHandler |
Method Summary | |
Asset | getAssetForKey(StringKey key) | Collection | getChangedAssets() | String | getName() | int | getNumAssets() | Task | getTaskForKey(StringKey key) | void | handleAssignment(org.cougaar.planning.ldm.plan.Task task, Asset asset, Date start, Date end, Date setupStart, Date wrapupEnd, String contribs, String taskText) | void | handleMultiAssignment(Vector tasks, Asset asset, Date start, Date end, Date setupStart, Date wrapupEnd, boolean assetWasUsedBefore) Called for each Vishnu assignment that needs to be translated into a Cougaar plan element
This is for many-to-one assignments : aggregations. | void | removeTask(StringKey key) |
getChangedAssets | Collection getChangedAssets()(Code) | | which assets were changed since they were added as new assets?
|
getNumAssets | int getNumAssets()(Code) | | get the total number of assets
|
getTaskForKey | Task getTaskForKey(StringKey key)(Code) | | Used to look up Cougaar task when result returned by Vishnu
|
handleMultiAssignment | void handleMultiAssignment(Vector tasks, Asset asset, Date start, Date end, Date setupStart, Date wrapupEnd, boolean assetWasUsedBefore)(Code) | | Called for each Vishnu assignment that needs to be translated into a Cougaar plan element
This is for many-to-one assignments : aggregations.
|
removeTask | void removeTask(StringKey key)(Code) | | tells the plugin to remove the task from its list of tasks sent to Vishnu scheduler
|
|
|