| Modifier and Type | Field and Description |
|---|---|
private Map<String,Command> |
CommandManager.commands |
| Modifier and Type | Method and Description |
|---|---|
protected <T extends Command> |
Command.appendArgument(CommandArgument commandArgument)
Appends a new argument to this command
|
| Modifier and Type | Method and Description |
|---|---|
Command |
CommandManager.getCommand(String name)
Get the command for a given name.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
CommandArgument.postExecute(Command command,
String commandLine)
Method to execute after a command is executed.
|
abstract void |
CommandArgument.preExecute(Command command,
String commandLine)
Method to execute before an argument is processed.
|
CommandManager |
CommandManager.registerCommand(Command command)
Register a new command and all of its aliases to this command manager.
|
Copyright © 2020. All rights reserved.