|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface ExecutionObject
extends the OMG execution
object
with additional methods that allow the type-safe state class
to be used to query and set state. The OMG API provides string
based methods only to enable vendors to define additional
sub-states. The type-safe equivalent is to define new subclasses of
the state classes.
Nested Class Summary |
Nested classes inherited from class de.danet.an.workflow.omgcore.WfExecutionObject |
WfExecutionObject.ClosedState, WfExecutionObject.NotRunningState, WfExecutionObject.OpenState, WfExecutionObject.State |
Method Summary | |
void |
changeState(WfExecutionObject.State newState)
Type-safe equivalent to . |
boolean |
debugEnabled()
Checks if the execution object is in debugging mode. |
WfExecutionObject.State |
typedState()
Type-safe equivalent to . |
Methods inherited from interface de.danet.an.workflow.omgcore.WfExecutionObject |
abort, changeState, description, history, howClosed, key, lastStateTime, name, priority, processContext, resume, setDescription, setName, setPriority, setProcessContext, state, suspend, terminate, validStates, whileOpen, whyNotRunning, workflowState |
Method Detail |
public WfExecutionObject.State typedState() throws java.rmi.RemoteException
WfExecutionObject.state()
.
java.rmi.RemoteException
- if a system-level error occurs.public void changeState(WfExecutionObject.State newState) throws java.rmi.RemoteException, InvalidStateException, TransitionNotAllowedException
WfExecutionObject.changeState()
.
newState
- state to change to.
InvalidStateException
- if newState
is an invalid
state for the execution object.
TransitionNotAllowedException
- if the transition from the current
state to newState
is not allowed.
java.rmi.RemoteException
- if a system-level error occurs.public boolean debugEnabled() throws java.rmi.RemoteException
true
if the execution object is in
debugging mode
java.rmi.RemoteException
- if a system-level error occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |