|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.EnumeratedType
wt.workflow.engine.WfTransition
Used together with the State type to define the state transitions anexecution object can perform when it is in a particular state. The transitions currently implemented are the following:
WfExecutionObject
,
Serialized FormNested Class Summary |
Nested classes inherited from class wt.fc.EnumeratedType |
|
Field Summary | |
static WfTransition |
ABORT
Supported API: false |
private static String |
CLASS_RESOURCE
|
private static String |
CLASSNAME
|
static WfTransition |
COMPLETE
Supported API: false |
static WfTransition |
DISABLE
Supported API: false |
static WfTransition |
ENABLE
Supported API: false |
private static Hashtable |
localeSets
|
static WfTransition |
RESET
Supported API: false |
private static String |
RESOURCE
|
static WfTransition |
RESUME
Supported API: false |
static WfTransition |
SKIP
Supported API: false |
static WfTransition |
START
Supported API: false |
static WfTransition |
SUSPEND
Supported API: false |
static WfTransition |
TERMINATE
Supported API: false |
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 |
WfTransition()
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. |
EnumeratedType[] |
getValueSet()
Returns a copy of the set of valid values (instances) for this instance, for the current user locale. |
static WfTransition |
getWfTransitionDefault()
Returns the default value (instance) for the WfTransition set. |
static WfTransition[] |
getWfTransitionSet()
Returns a copy of the set of valid values (instances) for the WfTransition class. |
private static EnumeratedType[] |
initializeLocaleSet(Locale locale)
|
static WfTransition |
newWfTransition(int secretHandshake)
Used by EnumeratedType for constructing instances of WfTransition, from a resource bundle. |
static WfTransition |
toWfTransition(String internal_value)
Returns the WfTransition 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 WfTransition START
public static final WfTransition DISABLE
public static final WfTransition ENABLE
public static final WfTransition SUSPEND
public static final WfTransition RESUME
public static final WfTransition SKIP
public static final WfTransition COMPLETE
public static final WfTransition TERMINATE
public static final WfTransition ABORT
public static final WfTransition RESET
Constructor Detail |
protected WfTransition()
Method Detail |
public static WfTransition newWfTransition(int secretHandshake) throws IllegalAccessException
secretHandshake
-
IllegalAccessException
public static WfTransition toWfTransition(String internal_value) throws WTInvalidParameterException
internal_value
- The internal (persistent) value for a valid instance of WfTransition.
WTInvalidParameterException
public static WfTransition getWfTransitionDefault()
public static WfTransition[] getWfTransitionSet()
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
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |