|
||||||||||
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.WMProcessDefinitionState
Describes the supported states of a process definition. The states and their descriptions are taken from WfMC Interface 2/3.
Field Summary | |
static int |
CREATE_ACTION
Create the process definition. |
static int |
DELETE_ACTION
Delete the process definition. |
static int |
DISABLE_ACTION
Disable the process definition. |
static WMProcessDefinitionState |
DISABLED
The process definition is disabled, and new instances cannot be created. |
static int |
DISABLED_INT
|
static java.lang.String |
DISABLED_TAG
|
static int |
ENABLE_ACTION
Enable the process definition. |
static WMProcessDefinitionState |
ENABLED
The process definition is enabled, and new instances can be created. |
static int |
ENABLED_INT
|
static java.lang.String |
ENABLED_TAG
|
static int |
UPDATE_ACTION
Update the process definition. |
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. |
static WMProcessDefinitionState[] |
states()
|
static WMProcessDefinitionState |
valueOf(int state)
|
static WMProcessDefinitionState |
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 DISABLED_INT
DISABLED
,
Constant Field Valuespublic static final int ENABLED_INT
ENABLED
,
Constant Field Valuespublic static final java.lang.String DISABLED_TAG
DISABLED
,
Constant Field Valuespublic static final java.lang.String ENABLED_TAG
ENABLED
,
Constant Field Valuespublic static final WMProcessDefinitionState DISABLED
public static final WMProcessDefinitionState ENABLED
public static final int CREATE_ACTION
public static final int DELETE_ACTION
public static final int DISABLE_ACTION
public static final int ENABLE_ACTION
public static final int UPDATE_ACTION
Method Detail |
public static WMProcessDefinitionState valueOf(java.lang.String state)
public static WMProcessDefinitionState valueOf(int state)
public static WMProcessDefinitionState[] states()
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 |