| 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 |
CommandOperationContext.getRegisteredCommand() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
BaseCommand.canExecute(CommandIssuer issuer,
RegisteredCommand<?> cmd) |
abstract <R extends CommandExecutionContext> |
CommandManager.createCommandContext(RegisteredCommand command,
Parameter 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) |
void |
CommandOperationContext.setRegisteredCommand(RegisteredCommand registeredCommand) |
void |
BaseCommand.showSyntax(CommandIssuer issuer,
RegisteredCommand<?> cmd) |
Copyright © 2017. All rights reserved.