Uses of Class
co.aikar.commands.BaseCommand
-
Uses of BaseCommand in co.aikar.commands
Modifier and TypeMethodDescriptiondefault BaseCommand
RootCommand.execute
(CommandIssuer sender, String commandLabel, String[] args) CommandOperationContext.getCommand()
default BaseCommand
RootCommand.getDefCommand()
BaseCommand.setExceptionHandler
(ExceptionHandler exceptionHandler) Modifier and TypeMethodDescriptionvoid
RootCommand.addChild
(BaseCommand command) default void
RootCommand.addChildShared
(List<BaseCommand> children, com.google.common.collect.SetMultimap<String, RegisteredCommand> subCommands, BaseCommand command) CommandManager.createRegisteredCommand
(BaseCommand command, String cmdName, Method method, String prefSubCommand) boolean
ExceptionHandler.execute
(BaseCommand command, RegisteredCommand registeredCommand, CommandIssuer sender, List<String> args, Throwable t) Called when an exception occurs while executing a command
If an exception handler properly handles an exception, the user will not be noticied by the framework that something went unexceptected.protected boolean
CommandManager.handleUncaughtException
(BaseCommand scope, RegisteredCommand registeredCommand, CommandIssuer sender, List<String> args, Throwable t) default void
AnnotationProcessor.onBaseCommandRegister
(BaseCommand command, T annotation) Deprecated.abstract void
CommandManager.registerCommand
(BaseCommand command) Registers a command with ACFModifier and TypeMethodDescriptiondefault void
RootCommand.addChildShared
(List<BaseCommand> children, com.google.common.collect.SetMultimap<String, RegisteredCommand> subCommands, BaseCommand command)