public class CommandProcessorImpl extends Object implements CommandProcessor
| Constructor and Description |
|---|
CommandProcessorImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
exec(CommandContext ctx)
Execute commands.
|
List<Command> |
getCommands()
Gets the list of commands to execute when install() is called.
|
void |
setLogger(Log log) |
public List<Command> getCommands()
CommandProcessorThe returned list is editable so that you can add new commands or modify existing commands by modifying the returned list.
getCommands in interface CommandProcessorpublic void exec(CommandContext ctx)
CommandProcessorexec in interface CommandProcessorpublic void setLogger(Log log)
setLogger in interface CommandProcessorCopyright © 2012 Nuxeo SA. All Rights Reserved.