| Package | Description |
|---|---|
| co.aikar.commands |
| Modifier and Type | Method and Description |
|---|---|
RegisteredCommand |
CommandManager.createRegisteredCommand(BaseCommand command,
String cmdName,
Method method,
String prefSubCommand) |
RegisteredCommand |
CommandExecutionContext.getCmd() |
RegisteredCommand |
BaseCommand.getDefaultRegisteredCommand() |
RegisteredCommand |
CommandOperationContext.getRegisteredCommand() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
BaseCommand.canExecute(CommandIssuer issuer,
RegisteredCommand<?> cmd) |
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) |
| Constructor and Description |
|---|
CommandParameter(RegisteredCommand<CEC> command,
Parameter param,
int paramIndex) |
Copyright © 2018. All rights reserved.