|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<BasicState.State>
com.sun.sgs.impl.service.nodemap.affinity.BasicState.State
protected static enum BasicState.State
Valid states.
| Enum Constant Summary | |
|---|---|
DISABLED
Disabled, can be enabled again or shutdown. |
|
ENABLED
Enabled, fully functional. |
|
NONE
Newly constructed (no state). |
|
SHUTDOWN
Disabled, and cannot be enabled again. |
|
| Method Summary | |
|---|---|
static BasicState.State |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static BasicState.State[] |
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 BasicState.State NONE
public static final BasicState.State ENABLED
public static final BasicState.State DISABLED
public static final BasicState.State SHUTDOWN
| Method Detail |
|---|
public static BasicState.State[] values()
for (BasicState.State c : BasicState.State.values()) System.out.println(c);
public static BasicState.State 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 null
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||