Package org.geysermc.geyser.command
Enum Class GeyserPermission.Result.Meta
java.lang.Object
java.lang.Enum<GeyserPermission.Result.Meta>
org.geysermc.geyser.command.GeyserPermission.Result.Meta
- All Implemented Interfaces:
Serializable,Comparable<GeyserPermission.Result.Meta>,Constable
- Enclosing class:
GeyserPermission.Result
More detailed explanation of whether the permission check passed.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe source meets all requirements.The source does not have a required permission node.The source must be a bedrock player, but is not.The source must be a player, but is not. -
Method Summary
Modifier and TypeMethodDescriptionstatic GeyserPermission.Result.MetaReturns the enum constant of this class with the specified name.static GeyserPermission.Result.Meta[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_BEDROCK
The source must be a bedrock player, but is not. -
NOT_PLAYER
The source must be a player, but is not. -
NO_PERMISSION
The source does not have a required permission node. -
ALLOWED
The source meets all requirements.
-
-
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
-