@Environment(value=CLIENT) public static enum RealmsServer.State extends Enum<RealmsServer.State>
Enum Constant and Description |
---|
CLOSED |
OPEN |
UNINITIALIZED |
Modifier and Type | Method and Description |
---|---|
static RealmsServer.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RealmsServer.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RealmsServer.State CLOSED
public static final RealmsServer.State OPEN
public static final RealmsServer.State UNINITIALIZED
public static RealmsServer.State[] values()
for (RealmsServer.State c : RealmsServer.State.values()) System.out.println(c);
public static RealmsServer.State valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null