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