protected static enum AbstractServer.ServerState extends java.lang.Enum<AbstractServer.ServerState>
| Enum Constant and Description |
|---|
Created |
Shutdown |
Started |
Starting |
| Modifier and Type | Method and Description |
|---|---|
static AbstractServer.ServerState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AbstractServer.ServerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractServer.ServerState Created
public static final AbstractServer.ServerState Starting
public static final AbstractServer.ServerState Started
public static final AbstractServer.ServerState Shutdown
public static AbstractServer.ServerState[] values()
for (AbstractServer.ServerState c : AbstractServer.ServerState.values()) System.out.println(c);
public static AbstractServer.ServerState 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 null