|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wfmc.wapi.WMObjectState
org.wfmc.wapi.WMActivityInstanceState
Describes the supported states of an activity instance. The states and their descriptions are taken from WfMC Interface 2/3.
| Field Summary | |
static int |
ABORT_ACTION
Abort the instance. |
static WMActivityInstanceState |
CLOSED_ABORTED
Enactment of the activity instance has been aborted, probably due to abortion of the owning process instance. |
static int |
CLOSED_ABORTED_INT
|
static java.lang.String |
CLOSED_ABORTED_TAG
|
static WMActivityInstanceState |
CLOSED_COMPLETED
Enactment of the activity instance has completed normally. |
static int |
CLOSED_COMPLETED_INT
|
static java.lang.String |
CLOSED_COMPLETED_TAG
|
static WMActivityInstanceState |
CLOSED_TERMINATED
Enactment of the activity instance has been terminated , probably due to termination of the owning process instance (see the specification of WMTerminateProcessInstance for a definition of termination in contrast to abortion). |
static int |
CLOSED_TERMINATED_INT
|
static java.lang.String |
CLOSED_TERMINATED_TAG
|
static int |
COMPLETE_ACTION
Complete the instance. |
static int |
CREATE_ACTION
Create the instance. |
static WMActivityInstanceState |
OPEN_NOTRUNNING
Execution of the activity instance has not started yet. |
static int |
OPEN_NOTRUNNING_INT
|
static java.lang.String |
OPEN_NOTRUNNING_TAG
|
static WMActivityInstanceState |
OPEN_RUNNING
The activity instance is executing. |
static int |
OPEN_RUNNING_INT
|
static java.lang.String |
OPEN_RUNNING_TAG
|
static WMActivityInstanceState |
OPEN_SUSPENDED
Execution of the activity instance was temporarily suspended. |
static int |
OPEN_SUSPENDED_INT
|
static java.lang.String |
OPEN_SUSPENDED_TAG
|
static int |
RESUME_ACTION
Resume the instance. |
static int |
START_ACTION
Start the instance. |
static int |
STOP_ACTION
Stop the instance. |
static int |
SUSPEND_ACTION
Suspend the instance. |
static int |
TERMINATE_ACTION
Terminate the instance. |
| Fields inherited from class org.wfmc.wapi.WMObjectState |
_state, DEFAULT_INT, FORCED_ACTION, ILLEGAL_ACTION, MESSAGE, NO_ACTION |
| Method Summary | |
protected int[] |
getActionsByState()
Returns the transitions from the current state, indexed by new state. |
protected int[] |
getStatesByAction()
Returns the transitions from the current state, indexed by action. |
protected java.lang.String[] |
getTags()
Returns the list of all state tags applicable to this instance's class. |
protected WMObjectState[] |
getValues()
Returns the list of all state values applicable to this instance's class. |
boolean |
isClosed()
|
static boolean |
isClosed(int state)
|
boolean |
isOpen()
|
static boolean |
isOpen(int state)
|
static WMActivityInstanceState[] |
states()
|
static WMActivityInstanceState |
valueOf(int state)
|
static WMActivityInstanceState |
valueOf(java.lang.String state)
|
| Methods inherited from class org.wfmc.wapi.WMObjectState |
checkTransition, checkTransition, equals, getStates, getValue, hashCode, readResolve, stateFromAction, stringValue, toString, value, valueOf |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int OPEN_NOTRUNNING_INT
OPEN_NOTRUNNING,
Constant Field Valuespublic static final int OPEN_SUSPENDED_INT
OPEN_SUSPENDED,
Constant Field Valuespublic static final int OPEN_RUNNING_INT
OPEN_RUNNING,
Constant Field Valuespublic static final int CLOSED_ABORTED_INT
CLOSED_ABORTED,
Constant Field Valuespublic static final int CLOSED_TERMINATED_INT
CLOSED_TERMINATED,
Constant Field Valuespublic static final int CLOSED_COMPLETED_INT
CLOSED_COMPLETED,
Constant Field Valuespublic static final java.lang.String OPEN_NOTRUNNING_TAG
OPEN_NOTRUNNING,
Constant Field Valuespublic static final java.lang.String OPEN_SUSPENDED_TAG
OPEN_SUSPENDED,
Constant Field Valuespublic static final java.lang.String OPEN_RUNNING_TAG
OPEN_RUNNING,
Constant Field Valuespublic static final java.lang.String CLOSED_ABORTED_TAG
CLOSED_ABORTED,
Constant Field Valuespublic static final java.lang.String CLOSED_TERMINATED_TAG
CLOSED_TERMINATED,
Constant Field Valuespublic static final java.lang.String CLOSED_COMPLETED_TAG
CLOSED_COMPLETED,
Constant Field Valuespublic static final WMActivityInstanceState OPEN_NOTRUNNING
public static final WMActivityInstanceState OPEN_SUSPENDED
public static final WMActivityInstanceState OPEN_RUNNING
public static final WMActivityInstanceState CLOSED_ABORTED
public static final WMActivityInstanceState CLOSED_TERMINATED
public static final WMActivityInstanceState CLOSED_COMPLETED
public static final int ABORT_ACTION
public static final int COMPLETE_ACTION
public static final int CREATE_ACTION
public static final int RESUME_ACTION
public static final int START_ACTION
public static final int STOP_ACTION
public static final int SUSPEND_ACTION
public static final int TERMINATE_ACTION
| Method Detail |
public static WMActivityInstanceState valueOf(java.lang.String state)
public static WMActivityInstanceState valueOf(int state)
public static WMActivityInstanceState[] states()
public boolean isClosed()
public static boolean isClosed(int state)
public boolean isOpen()
public static boolean isOpen(int state)
protected java.lang.String[] getTags()
WMObjectState
getTags in class WMObjectStateprotected WMObjectState[] getValues()
WMObjectState
getValues in class WMObjectStateprotected int[] getStatesByAction()
WMObjectStateWMObjectState.ILLEGAL_ACTION.
getStatesByAction in class WMObjectStateprotected int[] getActionsByState()
WMObjectStateWMObjectState.ILLEGAL_ACTION.
getActionsByState in class WMObjectState
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||