| org.cougaar.lib.vishnu.client.SchedulerLifecycle
All known Subclasses: org.cougaar.lib.vishnu.client.ExternalMode,
SchedulerLifecycle | public interface SchedulerLifecycle (Code) | | Defines the lifecycle of a Scheduler Mode, one of External, Internal, or Direct.
A mode has to deal with four basic steps (setup, initialize, prepare data, run).
It also has to deal with removed tasks, since the scheduler may have state associated
with past tasks.
Paired with the ModeListener.
See Also: ModeListener |
dumpToXML | String dumpToXML()(Code) | | queries the scheduler to get a full specification of the problem
(including specs, logic, gaspecs, objects, assignments, etc)
|
handleRemovedTasks | void handleRemovedTasks(Enumeration tasks)(Code) | | tell Scheduler about tasks that have been rescinded
|
initializeWithFormat | void initializeWithFormat()(Code) | | tell Scheduler about the problem format
|
prepareData | void prepareData(List stuffToSend, Document objectFormatDoc)(Code) | | tell Scheduler about tasks and assets to use
|
run | void run()(Code) | | run Scheduler, parse assignments, call ResultListener methods to create plan elements
|
setupScheduler | void setupScheduler()(Code) | | create scheduler, if needed
|
|
|