Package cloud.commandframework
Enum CloudCapability.StandardCapabilities
java.lang.Object
java.lang.Enum<CloudCapability.StandardCapabilities>
cloud.commandframework.CloudCapability.StandardCapabilities
- All Implemented Interfaces:
CloudCapability
,Serializable
,Comparable<CloudCapability.StandardCapabilities>
- Enclosing interface:
- CloudCapability
@API(status=STABLE,
since="1.7.0")
public static enum CloudCapability.StandardCapabilities
extends Enum<CloudCapability.StandardCapabilities>
implements CloudCapability
Standard
capabilities
.- Since:
- 1.7.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface cloud.commandframework.CloudCapability
CloudCapability.CloudCapabilityMissingException, CloudCapability.StandardCapabilities
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe capability to delete root commands usingCommandManager.deleteRootCommand(String)
. -
Method Summary
Modifier and TypeMethodDescription@NonNull String
toString()
Returns the friendly name of this capability.Returns the enum constant of this type with the specified name.static CloudCapability.StandardCapabilities[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ROOT_COMMAND_DELETION
The capability to delete root commands usingCommandManager.deleteRootCommand(String)
.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
Description copied from interface:CloudCapability
Returns the friendly name of this capability.- Specified by:
toString
in interfaceCloudCapability
- Overrides:
toString
in classEnum<CloudCapability.StandardCapabilities>
- Returns:
- the name of the capability
-