Enum Class NexoriMatchCompletionStatus
java.lang.Object
java.lang.Enum<NexoriMatchCompletionStatus>
io.github.hyjn.nexori.plugin.api.minigame.NexoriMatchCompletionStatus
- All Implemented Interfaces:
Serializable, Comparable<NexoriMatchCompletionStatus>, Constable
Public match completion states returned when submitting final match results.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNexori accepted the final result locally.This match already has a submitted final result.The submitted final result failed local validation.Nexori does not know the requested match id. -
Method Summary
Modifier and TypeMethodDescriptionstatic NexoriMatchCompletionStatusReturns the enum constant of this class with the specified name.static NexoriMatchCompletionStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACCEPTED
Nexori accepted the final result locally. -
ALREADY_SUBMITTED
This match already has a submitted final result. -
MATCH_MISSING
Nexori does not know the requested match id. -
INVALID_RESULT
The submitted final result failed local validation.
-
-
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
-