public enum JoinResult extends java.lang.Enum<JoinResult>
Enum Constant and Description |
---|
CANCELLED |
INTERNAL_ERROR |
INVENTORY_SAVE_ERROR |
ROUND_FULL |
ROUND_PLAYING |
ROUND_PREPARING |
SUCCESS |
Modifier and Type | Method and Description |
---|---|
static JoinResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JoinResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JoinResult SUCCESS
public static final JoinResult ROUND_FULL
public static final JoinResult ROUND_PREPARING
public static final JoinResult ROUND_PLAYING
public static final JoinResult INVENTORY_SAVE_ERROR
public static final JoinResult CANCELLED
public static final JoinResult INTERNAL_ERROR
public static JoinResult[] values()
for (JoinResult c : JoinResult.values()) System.out.println(c);
public static JoinResult 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