public enum OperationalState extends java.lang.Enum<OperationalState>
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getOperState() |
static OperationalState |
getState(int intState) |
static OperationalState |
getState(java.lang.String strState) |
static OperationalState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OperationalState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationalState DISABLED
public static final OperationalState ENABLED
public static final OperationalState OTHER
public static final OperationalState UNKNOWN
public static OperationalState[] values()
for (OperationalState c : OperationalState.values()) System.out.println(c);
public static OperationalState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getOperState()
public static OperationalState getState(int intState)
intState - public static OperationalState getState(java.lang.String strState)
intState -