Uses of Class
co.aikar.commands.RegisteredCommand
Packages that use RegisteredCommand
-
Uses of RegisteredCommand in co.aikar.commands
Methods in co.aikar.commands that return RegisteredCommandModifier and TypeMethodDescriptionCommandManager.createRegisteredCommand(BaseCommand command, String cmdName, Method method, String prefSubCommand) CommandExecutionContext.getCmd()BaseCommand.getDefaultRegisteredCommand()default RegisteredCommandRootCommand.getDefaultRegisteredCommand()CommandOperationContext.getRegisteredCommand()Methods in co.aikar.commands that return types with arguments of type RegisteredCommandModifier and TypeMethodDescriptionBaseCommand.getRegisteredCommands()ForwardingCommand.getRegisteredCommands()protected com.google.common.collect.SetMultimap<String,RegisteredCommand> BaseCommand.getSubCommands()com.google.common.collect.SetMultimap<String,RegisteredCommand> RootCommand.getSubCommands()Methods in co.aikar.commands with parameters of type RegisteredCommandModifier and TypeMethodDescriptionbooleanBaseCommand.canExecute(CommandIssuer issuer, RegisteredCommand<?> cmd) Deprecated.abstract CommandExecutionContextCommandManager.createCommandContext(RegisteredCommand command, CommandParameter parameter, CommandIssuer sender, List<String> args, int i, Map<String, Object> passedArgs) abstract CommandCompletionContextCommandManager.createCompletionContext(RegisteredCommand command, CommandIssuer sender, String input, String config, String[] args) 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.onCommandRegistered(RegisteredCommand command, T annotation) Deprecated.default voidAnnotationProcessor.onParameterRegistered(RegisteredCommand command, int parameterIndex, Parameter p, T annotation) Deprecated.voidCommandOperationContext.setRegisteredCommand(RegisteredCommand registeredCommand) voidBaseCommand.showSyntax(CommandIssuer issuer, RegisteredCommand<?> cmd) Method parameters in co.aikar.commands with type arguments of type RegisteredCommandModifier and TypeMethodDescriptiondefault voidRootCommand.addChildShared(List<BaseCommand> children, com.google.common.collect.SetMultimap<String, RegisteredCommand> subCommands, BaseCommand command) Constructors in co.aikar.commands with parameters of type RegisteredCommandModifierConstructorDescriptionCommandParameter(RegisteredCommand<CEC> command, Parameter param, int paramIndex, boolean isLast)
CommandConditions