Uses of Class
co.aikar.commands.BaseCommand
-
Packages that use BaseCommand Package Description co.aikar.commands -
-
Uses of BaseCommand in co.aikar.commands
Subclasses of BaseCommand in co.aikar.commands Modifier and Type Class Description classForwardingCommandMethods in co.aikar.commands that return BaseCommand Modifier and Type Method Description default BaseCommandRootCommand. execute(CommandIssuer sender, String commandLabel, String[] args)BaseCommandCommandOperationContext. getCommand()default BaseCommandRootCommand. getDefCommand()BaseCommandBaseCommand. setExceptionHandler(ExceptionHandler exceptionHandler)Methods in co.aikar.commands that return types with arguments of type BaseCommand Modifier and Type Method Description List<BaseCommand>RootCommand. getChildren()Methods in co.aikar.commands with parameters of type BaseCommand Modifier and Type Method Description voidRootCommand. addChild(BaseCommand command)default voidRootCommand. addChildShared(List<BaseCommand> children, com.google.common.collect.SetMultimap<String,RegisteredCommand> subCommands, BaseCommand command)RegisteredCommandCommandManager. 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 BaseCommand Modifier and Type Method Description default voidRootCommand. addChildShared(List<BaseCommand> children, com.google.common.collect.SetMultimap<String,RegisteredCommand> subCommands, BaseCommand command)
-