|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.EnumeratedType
wt.workflow.engine.WfState
The WfState
class enumerates the possible states an execution
object may be in.
Supported API: false
Extendable: false
WfExecutionObject
,
Serialized FormNested Class Summary |
Nested classes inherited from class wt.fc.EnumeratedType |
|
Field Summary | |
private static String |
CLASS_RESOURCE
|
private static String |
CLASSNAME
|
static WfState |
CLOSED
Supported API: false |
static WfState |
CLOSED_ABORTED
Supported API: false |
static WfState |
CLOSED_COMPLETED
Supported API: false |
static WfState |
CLOSED_COMPLETED_EXECUTED
Supported API: false |
static WfState |
CLOSED_COMPLETED_NOT_EXECUTED
Supported API: false |
static WfState |
CLOSED_TERMINATED
Supported API: false |
private static Hashtable |
localeSets
|
static WfState |
OPEN
Supported API: false |
static WfState |
OPEN_NOT_RUNNING
Supported API: false |
static WfState |
OPEN_NOT_RUNNING_NOT_STARTED
Supported API: false |
static WfState |
OPEN_NOT_RUNNING_SUSPENDED
Supported API: false |
static WfState |
OPEN_NOT_RUNNING_SUSPENDED_DISABLED
Supported API: false |
static WfState |
OPEN_NOT_RUNNING_SUSPENDED_INTERMITTED
Supported API: false |
static WfState |
OPEN_RUNNING
Supported API: false |
private static String |
RESOURCE
|
private static EnumeratedType[] |
valueSet
|
Fields inherited from class wt.fc.EnumeratedType |
secretHandshake, SEP_CHAR |
Fields inherited from interface wt.meta.EnumeratedType |
DEFAULT_VALUE, ORDER, SELECTABLE |
Constructor Summary | |
protected |
WfState()
Used by sub-classes that need a default constructor. |
Method Summary | |
protected EnumeratedType[] |
getLocaleSet(Locale locale)
Returns the set of values (instances) for this instance, for the specified locale. |
Enumeration |
getSubstates()
Returns an enumeration (of type WfState) containing all sub-states of the current object, including the object itself. |
EnumeratedType[] |
getValueSet()
Returns a copy of the set of valid values (instances) for this instance, for the current user locale. |
static WfState |
getWfStateDefault()
Returns the default value (instance) for the WfState set. |
static WfState[] |
getWfStateSet()
Returns a copy of the set of valid values (instances) for the WfState class. |
boolean |
includes(WfState state)
Returns true is the state passed as argument is a substate of the current object; false otherwise. |
private static EnumeratedType[] |
initializeLocaleSet(Locale locale)
|
static WfState |
newWfState(int secretHandshake)
Used by EnumeratedType for constructing instances of WfState, from a resource bundle. |
static WfState |
toWfState(String internal_value)
Returns the WfState instance for the internal_value argument. |
protected EnumeratedType[] |
valueSet()
Returns a reference to the set of valid values (instances) for this instance. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final String CLASS_RESOURCE
private static final EnumeratedType[] valueSet
private static Hashtable localeSets
public static final WfState OPEN
public static final WfState CLOSED
public static final WfState OPEN_RUNNING
public static final WfState OPEN_NOT_RUNNING
public static final WfState OPEN_NOT_RUNNING_NOT_STARTED
public static final WfState OPEN_NOT_RUNNING_SUSPENDED
public static final WfState CLOSED_COMPLETED
public static final WfState CLOSED_TERMINATED
public static final WfState CLOSED_ABORTED
public static final WfState OPEN_NOT_RUNNING_SUSPENDED_DISABLED
public static final WfState OPEN_NOT_RUNNING_SUSPENDED_INTERMITTED
public static final WfState CLOSED_COMPLETED_NOT_EXECUTED
public static final WfState CLOSED_COMPLETED_EXECUTED
Constructor Detail |
protected WfState()
Method Detail |
public static WfState newWfState(int secretHandshake) throws IllegalAccessException
secretHandshake
-
IllegalAccessException
public static WfState toWfState(String internal_value) throws WTInvalidParameterException
internal_value
- The internal (persistent) value for a valid instance of WfState.
WTInvalidParameterException
public static WfState getWfStateDefault()
public static WfState[] getWfStateSet()
public EnumeratedType[] getValueSet()
getValueSet
in class EnumeratedType
protected EnumeratedType[] valueSet()
valueSet
in class EnumeratedType
protected EnumeratedType[] getLocaleSet(Locale locale)
getLocaleSet
in class EnumeratedType
locale
-
private static EnumeratedType[] initializeLocaleSet(Locale locale) throws Throwable
locale
-
Throwable
public boolean includes(WfState state)
state
-
public Enumeration getSubstates()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |