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