Package com.plotsquared.core.command
Enum Class CommandCategory
- All Implemented Interfaces:
Caption
,Serializable
,Comparable<CommandCategory>
,Constable
CommandCategory.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAdministration commands.Cosmetic.Chat.Claiming CommandConfig.Debug CommandConfig.Information CommandConfig.Web.Protection.Teleportation CommandConfig. -
Method Summary
Modifier and TypeMethodDescriptiongetComponent
(@NonNull LocaleHolder localeHolder) Get the message that should be sent to the recipienttoString()
Deprecated.static CommandCategory
Returns the enum constant of this class with the specified name.static CommandCategory[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLAIMING
Claiming CommandConfig. Such as: /plot claim -
TELEPORT
Teleportation CommandConfig. Such as: /plot visit -
SETTINGS
Protection. -
CHAT
Chat. -
SCHEMATIC
Web. -
APPEARANCE
Cosmetic. -
INFO
Information CommandConfig. Such as: /plot info -
DEBUG
Debug CommandConfig. Such as: /plot debug -
ADMINISTRATION
Administration commands.
-
-
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
-
toString
Deprecated.- Overrides:
toString
in classEnum<CommandCategory>
-