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