public enum ClientAppState extends Enum<ClientAppState>
| Enum Constant and Description |
|---|
CRASHEDStopped abnormally. |
FORKEDForked as a new process, status unknown from now on. |
INITIALIZEDAfter constructor is complete. |
RUNNINGRunning. |
START_FAILEDStartup failed. |
STARTINGStarting up. |
STOPPEDStopped normally. |
STOPPINGStopping. |
UNINITIALIZEDInitial value. |
| Modifier and Type | Method and 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 CRASHED
public static final ClientAppState FORKED
public static final ClientAppState INITIALIZED
public static final ClientAppState RUNNING
public static final ClientAppState START_FAILED
public static final ClientAppState STARTING
public static final ClientAppState STOPPED
public static final ClientAppState STOPPING
public static final ClientAppState UNINITIALIZED
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 nullpublic static ClientAppState[] values()
for (ClientAppState c : ClientAppState.values()) System.out.println(c);