Enum Class NexoriSetAfkDetectionPolicyStatus
java.lang.Object
java.lang.Enum<NexoriSetAfkDetectionPolicyStatus>
io.github.hyjn.nexori.plugin.api.minigame.NexoriSetAfkDetectionPolicyStatus
- All Implemented Interfaces:
Serializable, Comparable<NexoriSetAfkDetectionPolicyStatus>, Constable
Result states returned when a rules mod updates runtime AFK detection policies.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe runtime AFK policy override was cleared.The request did not provide a usable policy.The match already completed and no longer accepts policy changes.Nexori does not know the requested match id.This implementation does not support runtime AFK policy overrides.The requested player is not part of the active match runtime.The runtime AFK policy override was stored. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static NexoriSetAfkDetectionPolicyStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UPDATED
The runtime AFK policy override was stored. -
CLEARED
The runtime AFK policy override was cleared. -
MATCH_MISSING
Nexori does not know the requested match id. -
PLAYER_MISSING
The requested player is not part of the active match runtime. -
MATCH_ALREADY_COMPLETED
The match already completed and no longer accepts policy changes. -
INVALID_POLICY
The request did not provide a usable policy. -
NOT_SUPPORTED
This implementation does not support runtime AFK policy overrides.
-
-
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
-