Uses of Class
co.aikar.commands.RegisteredCommand
-
Uses of RegisteredCommand in co.aikar.commands
Modifier and TypeMethodDescriptionCommandManager.createRegisteredCommand
(BaseCommand command, String cmdName, Method method, String prefSubCommand) CommandExecutionContext.getCmd()
BaseCommand.getDefaultRegisteredCommand()
default RegisteredCommand
RootCommand.getDefaultRegisteredCommand()
CommandOperationContext.getRegisteredCommand()
Modifier and TypeMethodDescriptionBaseCommand.getRegisteredCommands()
ForwardingCommand.getRegisteredCommands()
protected com.google.common.collect.SetMultimap<String,
RegisteredCommand> BaseCommand.getSubCommands()
com.google.common.collect.SetMultimap<String,
RegisteredCommand> RootCommand.getSubCommands()
Modifier and TypeMethodDescriptionboolean
BaseCommand.canExecute
(CommandIssuer issuer, RegisteredCommand<?> cmd) Deprecated.abstract CommandExecutionContext
CommandManager.createCommandContext
(RegisteredCommand command, CommandParameter parameter, CommandIssuer sender, List<String> args, int i, Map<String, Object> passedArgs) abstract CommandCompletionContext
CommandManager.createCompletionContext
(RegisteredCommand command, CommandIssuer sender, String input, String config, String[] args) 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.onCommandRegistered
(RegisteredCommand command, T annotation) Deprecated.default void
AnnotationProcessor.onParameterRegistered
(RegisteredCommand command, int parameterIndex, Parameter p, T annotation) Deprecated.void
CommandOperationContext.setRegisteredCommand
(RegisteredCommand registeredCommand) void
BaseCommand.showSyntax
(CommandIssuer issuer, RegisteredCommand<?> cmd) Modifier and TypeMethodDescriptiondefault void
RootCommand.addChildShared
(List<BaseCommand> children, com.google.common.collect.SetMultimap<String, RegisteredCommand> subCommands, BaseCommand command) ModifierConstructorDescriptionCommandParameter
(RegisteredCommand<CEC> command, Parameter param, int paramIndex, boolean isLast)
CommandConditions