Uses of Class
co.aikar.commands.BaseCommand
Packages that use BaseCommand
-
Uses of BaseCommand in co.aikar.commands
Subclasses of BaseCommand in co.aikar.commandsMethods in co.aikar.commands that return BaseCommandModifier and TypeMethodDescriptiondefault BaseCommandRootCommand.execute(CommandIssuer sender, String commandLabel, String[] args) CommandOperationContext.getCommand()default BaseCommandRootCommand.getDefCommand()BaseCommand.setExceptionHandler(ExceptionHandler exceptionHandler) Methods in co.aikar.commands that return types with arguments of type BaseCommandMethods in co.aikar.commands with parameters of type BaseCommandModifier and TypeMethodDescriptionvoidRootCommand.addChild(BaseCommand command) default voidRootCommand.addChildShared(List<BaseCommand> children, com.google.common.collect.SetMultimap<String, RegisteredCommand> subCommands, BaseCommand command) CommandManager.createRegisteredCommand(BaseCommand command, String cmdName, Method method, String prefSubCommand) booleanExceptionHandler.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 booleanCommandManager.handleUncaughtException(BaseCommand scope, RegisteredCommand registeredCommand, CommandIssuer sender, List<String> args, Throwable t) default voidAnnotationProcessor.onBaseCommandRegister(BaseCommand command, T annotation) Deprecated.abstract voidCommandManager.registerCommand(BaseCommand command) Registers a command with ACFMethod parameters in co.aikar.commands with type arguments of type BaseCommandModifier and TypeMethodDescriptiondefault voidRootCommand.addChildShared(List<BaseCommand> children, com.google.common.collect.SetMultimap<String, RegisteredCommand> subCommands, BaseCommand command)