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