public interface CommandListener
| Modifier and Type | Method and Description |
|---|---|
boolean |
onBeforeCommand(CommandManager sender,
Command command,
String param)
Notifies that the given command is about to be executed with the given parameter by the specified command
manager.
|
void |
onCommand(CommandManager sender,
Command command,
String param)
Notifies that the given command has been executed with the given parameter by the specified command manager.
|
boolean onBeforeCommand(CommandManager sender, Command command, String param)
sender - The command manager that is about to execute the specified command.command - The command that will be executed.param - The parameter that will be passed to the command.void onCommand(CommandManager sender, Command command, String param)
sender - The command manager that executed the command.command - The command executed.param - The parameter used when the command was executed.Copyright © 2004–2015 XWiki. All rights reserved.