|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.EnumeratedType
wt.workflow.engine.WfConnectorState
The WfConnectorState
class enumerates the possible states
a connector may be in. The states are ENABLED and DISABLED. A connector
only fires if it is enabled. The firing of the connector disables it.
An explicit action is required to enable it again.
Supported API: false
Extendable: false
Nested Class Summary |
Nested classes inherited from class wt.fc.EnumeratedType |
|
Field Summary | |
private static String |
CLASS_RESOURCE
|
private static String |
CLASSNAME
|
static WfConnectorState |
DISABLED
Supported API: false |
static WfConnectorState |
ENABLED
Supported API: false |
private static Hashtable |
localeSets
|
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 |
WfConnectorState()
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 WfConnectorState |
getWfConnectorStateDefault()
Returns the default value (instance) for the WfConnectorState set. |
static WfConnectorState[] |
getWfConnectorStateSet()
Returns a copy of the set of valid values (instances) for the WfConnectorState class. |
private static EnumeratedType[] |
initializeLocaleSet(Locale locale)
|
static WfConnectorState |
newWfConnectorState(int secretHandshake)
Used by EnumeratedType for constructing instances of WfConnectorState, from a resource bundle. |
static WfConnectorState |
toWfConnectorState(String internal_value)
Returns the WfConnectorState 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 WfConnectorState ENABLED
public static final WfConnectorState DISABLED
Constructor Detail |
protected WfConnectorState()
Method Detail |
public static WfConnectorState newWfConnectorState(int secretHandshake) throws IllegalAccessException
secretHandshake
-
IllegalAccessException
public static WfConnectorState toWfConnectorState(String internal_value) throws WTInvalidParameterException
internal_value
- The internal (persistent) value for a valid instance of WfConnectorState.
WTInvalidParameterException
public static WfConnectorState getWfConnectorStateDefault()
public static WfConnectorState[] getWfConnectorStateSet()
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 |