Enum Constant and Description |
---|
PAUSE
Flag for indicating a pausing situation by hardware
|
PENALTY
Flag for penalty shoot-out situation
|
SOFT_PAUSE
Flag for indicating a pausing situation by software
|
Modifier and Type | Method and Description |
---|---|
static Flag |
byName(java.lang.String name)
Search for a Flag with a given name.
|
boolean |
getDefault() |
java.lang.String |
getName() |
static Flag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Flag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Flag PENALTY
public static final Flag PAUSE
public static final Flag SOFT_PAUSE
public static Flag[] values()
for (Flag c : Flag.values()) System.out.println(c);
public static Flag 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 nullpublic java.lang.String getName()
public boolean getDefault()
public static Flag byName(java.lang.String name)
name
- - The name of the flag in question