Enum Class ScenarioVoteStatus
- All Implemented Interfaces:
Serializable,Comparable<ScenarioVoteStatus>,Constable
Where a match's vote stands.
A match may only leave the waiting lobby once the vote reached RESOLVED or
NOT_APPLICABLE.
- Since:
- 1.6.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe lobby was cancelled before the vote could resolve.This match does not vote; its scenarios come from another selection mode.The lobby exists but voting has not opened yet.Voting closed and the winners are locked in.Voting is open and players may cast or change votes. -
Method Summary
Modifier and TypeMethodDescriptionstatic ScenarioVoteStatusReturns the enum constant of this class with the specified name.static ScenarioVoteStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_APPLICABLE
This match does not vote; its scenarios come from another selection mode. -
PENDING
The lobby exists but voting has not opened yet. -
RUNNING
Voting is open and players may cast or change votes. -
RESOLVED
Voting closed and the winners are locked in. The match may start. -
CANCELLED
The lobby was cancelled before the vote could resolve.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-