public static enum Server.Status extends java.lang.Enum<Server.Status>
| Enum Constant and Description |
|---|
FAILED |
RUNNING |
START_FAILED |
STARTED |
STARTING |
STOPPED |
STOPPING |
UNDEFINED |
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
m_string |
| Modifier and Type | Method and Description |
|---|---|
static Server.Status |
parseString(java.lang.String str) |
java.lang.String |
status() |
static Server.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Server.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Server.Status STARTING
public static final Server.Status STARTED
public static final Server.Status RUNNING
public static final Server.Status STOPPING
public static final Server.Status STOPPED
public static final Server.Status FAILED
public static final Server.Status START_FAILED
public static final Server.Status UNDEFINED
public static Server.Status[] values()
for (Server.Status c : Server.Status.values()) System.out.println(c);
public static Server.Status 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 status()
public static Server.Status parseString(java.lang.String str)