Class SubCommand
java.lang.Object
pro.gravit.utils.command.Command
pro.gravit.utils.command.SubCommand
-
Field Summary
Fields inherited from class Command
childCommandsModifier and TypeFieldDescriptionList of available subcommands -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Command
buildCandidate, complete, invoke, invokeSubcommands, parseUsername, parseUUID, verifyArgsModifier and TypeMethodDescriptionorg.jline.reader.CandidatebuildCandidate(CommandHandler.Category category, String commandName) Creates a JLine candidate that appears in the list of available options when you press TABList<org.jline.reader.Candidate> Returns a list of available options for the next word for the current command.abstract voidRun current commandvoidinvokeSubcommands(String... args) Transfer control to subcommandsprotected static StringparseUsername(String username) protected static UUIDprotected final voidverifyArgs(String[] args, int min)
-
Constructor Details
-
SubCommand
public SubCommand() -
SubCommand
-
-
Method Details
-
getArgsDescription
- Specified by:
getArgsDescriptionin classCommand
-
getUsageDescription
- Specified by:
getUsageDescriptionin classCommand
-