public class CommandManager extends Object
Constructor and Description |
---|
CommandManager() |
Modifier and Type | Method and Description |
---|---|
Map<String,Command> |
getCommands() |
void |
handleCommand(CommandIssuer issuer,
String commandLine)
Handle a line of command sent from a command issuer
|
void |
registerCommand(Command command)
Register a command.
|
void |
unregisterCommand(Command command)
Unregister a command.
|
public void registerCommand(Command command)
command
- public void unregisterCommand(Command command)
command
- public void handleCommand(CommandIssuer issuer, String commandLine)
issuer
- commandLine
- Copyright © 2016. All rights reserved.