| org.cougaar.core.examples.mobility.ldm.Proc
All known Subclasses: org.cougaar.core.examples.mobility.ldm.ProcImpl,
Proc | public interface Proc extends UniqueObject(Code) | | A Proc is a running Script -- it's short for "process",
which is a classname that's already used by
"java.lang.Process".
|
Method Summary | |
long | getEndTime() Get the time of the proc completion.
If the proc failed, the current script index will
be less than the script size and the step uid
will be non-null. | int | getMoveCount() Get the count of the total number of moves requested
by this proc. | int | getScriptIndex() Current index in the script, which changes as the
script is proc. | UID | getScriptUID() Script UID, which is immutable. | long | getStartTime() Start time of the proc. | UID | getStepUID() Current Step UID, which changes as the script is
proc. | UID | getUID() UID support from unique-object. | void | setEndTime(long time) For infrastructure use only!. | void | setMoveCount(int count) For infrastructure use only!. | void | setScriptIndex(int index) For infrastructure use only!. | void | setStepUID(UID uid) For infrastructure use only!. |
getEndTime | long getEndTime()(Code) | | Get the time of the proc completion.
If the proc failed, the current script index will
be less than the script size and the step uid
will be non-null. If the proc succeeded, the
current script index will be equal to the script
size and the step uid will be null.
|
getMoveCount | int getMoveCount()(Code) | | Get the count of the total number of moves requested
by this proc.
|
getScriptIndex | int getScriptIndex()(Code) | | Current index in the script, which changes as the
script is proc. I.e. program-counter.
|
getScriptUID | UID getScriptUID()(Code) | | Script UID, which is immutable.
|
getStartTime | long getStartTime()(Code) | | Start time of the proc.
Pause and timeout times starting with "@" are offset
by this time; see ScriptParser for details.
|
getStepUID | UID getStepUID()(Code) | | Current Step UID, which changes as the script is
proc.
|
getUID | UID getUID()(Code) | | UID support from unique-object.
|
setEndTime | void setEndTime(long time)(Code) | | For infrastructure use only!. Set the end time.
|
setMoveCount | void setMoveCount(int count)(Code) | | For infrastructure use only!. Set the move count.
|
setScriptIndex | void setScriptIndex(int index)(Code) | | For infrastructure use only!. Set the current index.
|
setStepUID | void setStepUID(UID uid)(Code) | | For infrastructure use only!. Set the current step.
|
|
|