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 extendingApiCommandThis field is optional, however if aCommandAliasesAnnotation is set, that annotation will override this valueSets the description for the class extendingApiCommandThis field is optional, however if aCommandDescriptionAnnotation is set, that annotation will override this valueName to set for the class extendingApiCommandThis field is absolutely required when using this annotation, unless your are using aCommandNameannotationSets the usage method of a class extendingApiCommandThis field is optional, however if aCommandUsageAnnotation is set, that annotation will override this value
-
Element Details
-
name
Name to set for the class extendingApiCommandThis field is absolutely required when using this annotation, unless your are using aCommandNameannotation- Returns:
- Nonnull String, and Not empty String
- Default:
- ""
-
description
Sets the description for the class extendingApiCommandThis field is optional, however if aCommandDescriptionAnnotation is set, that annotation will override this value- Returns:
- Any Nonnull string
- Default:
- ""
-
usageMessage
Sets the usage method of a class extendingApiCommandThis field is optional, however if aCommandUsageAnnotation is set, that annotation will override this value- Returns:
- Any Nonnull String
- Default:
- ""
-
aliases
Sets the Aliases of a class extendingApiCommandThis field is optional, however if aCommandAliasesAnnotation is set, that annotation will override this value- Default:
- {}
-