Class CommandInfo
java.lang.Object
io.github.projectunified.craftcommand.CommandInfo
Information about a command or subcommand execution.
-
Constructor Summary
ConstructorsConstructorDescriptionCommandInfo(List<String> path, String usage, String description) Constructs a CommandInfo. -
Method Summary
-
Constructor Details
-
CommandInfo
Constructs a CommandInfo.- Parameters:
path- the subcommand pathusage- the usage syntaxdescription- the description
-
-
Method Details
-
getPath
Gets the subcommand path.- Returns:
- the path
-
getUsage
Gets the usage syntax.- Returns:
- the usage syntax
-
getDescription
Gets the description.- Returns:
- the description
-