|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ControllerMode>
org.jboss.dependency.spi.ControllerMode
public enum ControllerMode
Mode of the context.
Enum Constant Summary | |
---|---|
ASYNCHRONOUS
|
|
AUTOMATIC
|
|
DISABLED
|
|
MANUAL
|
|
ON_DEMAND
|
Method Summary | |
---|---|
static ControllerMode |
getInstance(String modeString)
Get the right enum instance from mode string. |
String |
getModeString()
Get the mode string |
ControllerState |
getRequiredState()
The required state. |
void |
toString(org.jboss.util.JBossStringBuilder buffer)
|
static ControllerMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ControllerMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ControllerMode AUTOMATIC
public static final ControllerMode ON_DEMAND
public static final ControllerMode MANUAL
public static final ControllerMode DISABLED
public static final ControllerMode ASYNCHRONOUS
Method Detail |
---|
public static ControllerMode[] values()
for (ControllerMode c : ControllerMode.values()) System.out.println(c);
public static ControllerMode valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static ControllerMode getInstance(String modeString)
modeString
- the mode string param
public String getModeString()
public ControllerState getRequiredState()
public void toString(org.jboss.util.JBossStringBuilder buffer)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |