| java.lang.Object org.cougaar.lib.vishnu.client.PluginHelper org.cougaar.lib.vishnu.client.ExternalMode
All known Subclasses: org.cougaar.lib.vishnu.client.InternalMode,
alwaysClearDatabase | boolean alwaysClearDatabase(Code) | | |
incrementalScheduling | protected boolean incrementalScheduling(Code) | | |
sendDataChunkSize | protected int sendDataChunkSize(Code) | | |
sentOtherDataAlready | protected boolean sentOtherDataAlready(Code) | | |
dumpToXML | public String dumpToXML()(Code) | | queries the scheduler to get a full specification of the problem
(including specs, logic, gaspecs, objects, assignments, etc)
placeholder in external mode (for now)
|
handleRemovedTasks | public void handleRemovedTasks(Enumeration removedTasks)(Code) | | Place to handle rescinded tasks.
Sends XML to unfreeze the task assignment and delete it.
Parameters: removedTasks - changed assets found in the container |
initializeWithFormat | public void initializeWithFormat()(Code) | | Implemented for SchedulerLifecycle -- already done in VishnuPlugin.prepareObjectFormat
so does nothing.
See Also: VishnuPlugin.prepareObjectFormat |
localSetup | protected void localSetup()(Code) | | sets local parameters
|
prepareData | public void prepareData(List stuffToSend, Document objectFormatDoc)(Code) | | just calls sendDataToVishnu
|
sendDataToVishnu | protected void sendDataToVishnu(List tasks, Map nameToDescrip, boolean clearDatabase, boolean sendingChangedObjects, String assetClassName)(Code) | | Send the data section of the problem to the postdata URL.
Chunks data into sendDataChunkSize chunks of tasks.
Handles sending changed objects.
Parameters: tasks - -- a collection of all the tasks and resources Parameters: nameToDescrip - - Maping of names to newnames on fields, objects Parameters: clearDatabase - - send clear database command to Vishnu Parameters: sendingChangedObjects - -- controls whether assets will be sentinside of tags |
setNameToDescrip | public void setNameToDescrip(Map map)(Code) | | used by sendDataToVishnu
|
setSingleAssetClassName | public void setSingleAssetClassName(String name)(Code) | | used by sendDataToVishnu
|
setupScheduler | public void setupScheduler()(Code) | | scheduler is created as a separate process by whoever sets up Vishnu system
|
waitTillFinished | protected boolean waitTillFinished()(Code) | | wait until the scheduler is done. Parse the answer if there was one.
|
|
|