|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ClientAppState>
net.i2p.app.ClientAppState
public enum ClientAppState
Status of a client application. ClientAppManager.notify() must be called on all state transitions except from UNINITIALIZED to INITIALIZED.
Enum Constant Summary | |
---|---|
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 |
Method Summary | |
---|---|
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. |
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 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
Method Detail |
---|
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 name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |