Enum Constant and Description |
---|
ELIMINATION
An elimination ("playoff") match is being played.
|
NONE
No match is being played.
|
PRACTICE
A practice match is being played.
|
QUALIFICATION
A qualification match is being played.
|
Modifier and Type | Method and Description |
---|---|
static MatchType |
fromOrdinal(int ordinal)
Gets the match type from its ordinal.
|
java.lang.String |
getHumanReadableName()
Gets a human-readable name for this ordinal.
|
static MatchType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MatchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatchType NONE
public static final MatchType PRACTICE
public static final MatchType QUALIFICATION
public static final MatchType ELIMINATION
public static MatchType[] values()
for (MatchType c : MatchType.values()) System.out.println(c);
public static MatchType 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 getHumanReadableName()