Serializable
, Comparable<ClientAppState>
public enum ClientAppState extends Enum<ClientAppState>
Enum Constant | Description |
---|---|
CRASHED |
stopped abnormally
|
FORKED |
forked as a new process, status unknown from now on
|
INITIALIZED |
after constructor is complete
|
RUNNING |
|
START_FAILED |
|
STARTING |
|
STOPPED |
stopped normally
|
STOPPING |
|
UNINITIALIZED |
initial value
|
Modifier and Type | Method | Description |
---|---|---|
static ClientAppState |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ClientAppState[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientAppState UNINITIALIZED
public static final ClientAppState INITIALIZED
public static final ClientAppState STARTING
public static final ClientAppState START_FAILED
public static final ClientAppState RUNNING
public static final ClientAppState STOPPING
public static final ClientAppState STOPPED
public static final ClientAppState CRASHED
public static final ClientAppState FORKED
public static ClientAppState[] values()
for (ClientAppState c : ClientAppState.values()) System.out.println(c);
public static ClientAppState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null