|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.wfmc.wapi.WMObjectState org.wfmc.wapi.WMProcessInstanceState
Describes the supported states of a process instance. The states and their descriptions are taken from WfMC Interface 2/3.
Field Summary | |
static int |
ABORT_ACTION
Abort the instance. |
static WMProcessInstanceState |
CLOSED_ABORTED
Enactment of the process instance has been aborted by a user. |
static int |
CLOSED_ABORTED_INT
|
static java.lang.String |
CLOSED_ABORTED_TAG
|
static WMProcessInstanceState |
CLOSED_COMPLETED
Enactment of the process instance has completed normally. |
static int |
CLOSED_COMPLETED_INT
|
static java.lang.String |
CLOSED_COMPLETED_TAG
|
static WMProcessInstanceState |
CLOSED_TERMINATED
Enactment of the process instance has been terminated by a user. |
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 int |
DELETE_ACTION
Delete the instance. |
static WMProcessInstanceState |
OPEN_NOTRUNNING_NOTSTARTED
The process instance has been created, but was not started yet. |
static int |
OPEN_NOTRUNNING_NOTSTARTED_INT
|
static java.lang.String |
OPEN_NOTRUNNING_NOTSTARTED_TAG
|
static WMProcessInstanceState |
OPEN_NOTRUNNING_SUSPENDED
Execution of the process instance was temporarily suspended. |
static int |
OPEN_NOTRUNNING_SUSPENDED_INT
|
static java.lang.String |
OPEN_NOTRUNNING_SUSPENDED_TAG
|
static WMProcessInstanceState |
OPEN_RUNNING
The process instance is executing. |
static int |
OPEN_RUNNING_INT
|
static java.lang.String |
OPEN_RUNNING_TAG
|
static int |
RESUME_ACTION
Resume the instance. |
static int |
START_ACTION
Start 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 WMProcessInstanceState[] |
states()
|
static WMProcessInstanceState |
valueOf(int state)
|
static WMProcessInstanceState |
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_NOTSTARTED_INT
OPEN_NOTRUNNING_NOTSTARTED
,
Constant Field Valuespublic static final int OPEN_NOTRUNNING_SUSPENDED_INT
OPEN_NOTRUNNING_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_NOTSTARTED_TAG
OPEN_NOTRUNNING_NOTSTARTED
,
Constant Field Valuespublic static final java.lang.String OPEN_NOTRUNNING_SUSPENDED_TAG
OPEN_NOTRUNNING_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 WMProcessInstanceState OPEN_NOTRUNNING_NOTSTARTED
public static final WMProcessInstanceState OPEN_NOTRUNNING_SUSPENDED
public static final WMProcessInstanceState OPEN_RUNNING
public static final WMProcessInstanceState CLOSED_ABORTED
public static final WMProcessInstanceState CLOSED_TERMINATED
public static final WMProcessInstanceState CLOSED_COMPLETED
public static final int ABORT_ACTION
public static final int COMPLETE_ACTION
public static final int CREATE_ACTION
public static final int DELETE_ACTION
public static final int RESUME_ACTION
public static final int START_ACTION
public static final int SUSPEND_ACTION
public static final int TERMINATE_ACTION
Method Detail |
public static WMProcessInstanceState valueOf(java.lang.String state)
public static WMProcessInstanceState valueOf(int state)
public static WMProcessInstanceState[] 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 WMObjectState
protected WMObjectState[] getValues()
WMObjectState
getValues
in class WMObjectState
protected int[] getStatesByAction()
WMObjectState
WMObjectState.ILLEGAL_ACTION
.
getStatesByAction
in class WMObjectState
protected int[] getActionsByState()
WMObjectState
WMObjectState.ILLEGAL_ACTION
.
getActionsByState
in class WMObjectState
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |