Interface CommandElement
- All Known Subinterfaces:
CommandElement.Argument,CommandElement.Flag
A
CommandElement represents a part of a given command chain.
Allowing the user to read basic information about the internals of a command without having to interact with the underlying command system.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceRepresents a command argument.static interfaceRepresents a command flag, usually an optional named argument. -
Method Summary
Modifier and TypeMethodDescriptionReturns the aliases of this command element.Returns the description of this command element.getName()Returns the name of this command element.
-
Method Details
-
getName
String getName()Returns the name of this command element. -
getDescription
DescriptionFacade getDescription()Returns the description of this command element. -
getAliases
Returns the aliases of this command element.
-