public enum SystemState extends java.lang.Enum<SystemState> implements OptionsEnum
Enum Constant and Description |
---|
FAULT |
INIT |
RUNNING |
STANDBY |
STARTING |
UNDEFINED |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Gets this enums String representation.
|
OptionsEnum |
getUndefined()
Gets the enum that is used for 'UNDEFINED' values.
|
int |
getValue()
Gets this enums int representation.
|
static SystemState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SystemState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
asCamelCase, isUndefined
public static final SystemState UNDEFINED
public static final SystemState INIT
public static final SystemState STANDBY
public static final SystemState STARTING
public static final SystemState RUNNING
public static final SystemState FAULT
public static SystemState[] values()
for (SystemState c : SystemState.values()) System.out.println(c);
public static SystemState 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 int getValue()
OptionsEnum
getValue
in interface OptionsEnum
public java.lang.String getName()
OptionsEnum
getName
in interface OptionsEnum
public OptionsEnum getUndefined()
OptionsEnum
getUndefined
in interface OptionsEnum