Annotation Interface RegisterCommand
Sets specific command settings for a class extending
ApiCommand
This is required, unless you prefer to use CommandName
CommandUsage
CommandDescription
CommandAliases
instead-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]
Sets the Aliases of a class extendingApiCommand
This field is optional, however if aCommandAliases
Annotation is set, that annotation will override this valueSets the description for the class extendingApiCommand
This field is optional, however if aCommandDescription
Annotation is set, that annotation will override this valueName to set for the class extendingApiCommand
This field is absolutely required when using this annotation, unless your are using aCommandName
annotationSets the usage method of a class extendingApiCommand
This field is optional, however if aCommandUsage
Annotation is set, that annotation will override this value
-
Element Details
-
name
Name to set for the class extendingApiCommand
This field is absolutely required when using this annotation, unless your are using aCommandName
annotation- Returns:
- Nonnull String, and Not empty String
- Default:
- ""
-
description
Sets the description for the class extendingApiCommand
This field is optional, however if aCommandDescription
Annotation is set, that annotation will override this value- Returns:
- Any Nonnull string
- Default:
- ""
-
usageMessage
Sets the usage method of a class extendingApiCommand
This field is optional, however if aCommandUsage
Annotation is set, that annotation will override this value- Returns:
- Any Nonnull String
- Default:
- ""
-
aliases
Sets the Aliases of a class extendingApiCommand
This field is optional, however if aCommandAliases
Annotation is set, that annotation will override this value- Default:
- {}
-