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