Enum Class NexoriCloseMatchAdmissionStatus
java.lang.Object
java.lang.Enum<NexoriCloseMatchAdmissionStatus>
io.github.hyjn.nexori.plugin.api.minigame.NexoriCloseMatchAdmissionStatus
- All Implemented Interfaces:
Serializable, Comparable<NexoriCloseMatchAdmissionStatus>, Constable
Result states returned after one explicit admission close request.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAdmission was already closed before this request.Admission was open and is now closed locally.The request did not provide a usable close reason.Nexori does not know the requested match id.The match is not backed by backend admission reporting.Match state/admission reporting is disabled on this server. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static NexoriCloseMatchAdmissionStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLOSED
Admission was open and is now closed locally. -
ALREADY_CLOSED
Admission was already closed before this request. -
MATCH_MISSING
Nexori does not know the requested match id. -
MATCH_NOT_BACKEND_DRIVEN
The match is not backed by backend admission reporting. -
INVALID_REASON
The request did not provide a usable close reason. -
REPORTING_DISABLED
Match state/admission reporting is disabled on this server.
-
-
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
-