public enum JoinStatus extends java.lang.Enum<JoinStatus> implements BetterEnum<java.lang.Integer>
Enum Constant and Description |
---|
FAILEDUNHANDLEDEXCEPTION |
INVALIDCLIENTVERSION |
INVALIDSESSIONID |
SUCCESSFUL |
THROTTLED |
TIMEOUT |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getValue() |
static JoinStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JoinStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JoinStatus SUCCESSFUL
public static final JoinStatus FAILEDUNHANDLEDEXCEPTION
public static final JoinStatus INVALIDCLIENTVERSION
public static final JoinStatus INVALIDSESSIONID
public static final JoinStatus TIMEOUT
public static final JoinStatus THROTTLED
public static JoinStatus[] values()
for (JoinStatus c : JoinStatus.values()) System.out.println(c);
public static JoinStatus 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@Nonnull public java.lang.Integer getValue()
getValue
in interface BetterEnum<java.lang.Integer>