Package org.core.command
Interface ArgumentLauncher
- All Superinterfaces:
BaseCommandLauncher
- All Known Implementing Classes:
TranslateCoreCommands
The argument launcher converts a
ArgumentCommand
into a registered command.-
Method Summary
Modifier and TypeMethodDescriptionGets the registered argument commands to this commanddefault boolean
run(CommandSource source, String... args)
tab(CommandSource source, String... args)
Methods inherited from interface org.core.command.BaseCommandLauncher
getAliases, getDescription, getName, getUsage, hasPermission
-
Method Details
-
getCommands
Set<ArgumentCommand> getCommands()Gets the registered argument commands to this command- Returns:
- A set of registered Argument Command
-
run
- Specified by:
run
in interfaceBaseCommandLauncher
- Throws:
NotEnoughArguments
-
tab
- Specified by:
tab
in interfaceBaseCommandLauncher
-