| Package | Description |
|---|---|
| co.aikar.commands |
| Modifier and Type | Class and Description |
|---|---|
class |
ForwardingCommand |
| Modifier and Type | Method and Description |
|---|---|
default BaseCommand |
RootCommand.execute(CommandIssuer sender,
String commandLabel,
String[] args) |
default BaseCommand |
RootCommand.getBaseCommand(String[] args) |
BaseCommand |
CommandOperationContext.getCommand() |
default BaseCommand |
RootCommand.getDefCommand() |
BaseCommand |
BaseCommand.setExceptionHandler(ExceptionHandler exceptionHandler) |
| Modifier and Type | Method and Description |
|---|---|
List<BaseCommand> |
RootCommand.getChildren() |
| Modifier and Type | Method and Description |
|---|---|
void |
RootCommand.addChild(BaseCommand command) |
default void |
RootCommand.addChildShared(List<BaseCommand> children,
com.google.common.collect.SetMultimap<String,RegisteredCommand> subCommands,
BaseCommand command) |
RegisteredCommand |
CommandManager.createRegisteredCommand(BaseCommand command,
String cmdName,
Method method,
String prefSubCommand) |
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.onBaseCommandRegister(BaseCommand command,
T annotation)
Deprecated.
|
abstract void |
CommandManager.registerCommand(BaseCommand command)
Registers a command with ACF
|
| Modifier and Type | Method and Description |
|---|---|
default void |
RootCommand.addChildShared(List<BaseCommand> children,
com.google.common.collect.SetMultimap<String,RegisteredCommand> subCommands,
BaseCommand command) |
Copyright © 2019. All rights reserved.