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()
CommandProcessor
The returned list is editable so that you can add new commands or modify existing commands by modifying the returned list.
getCommands
in interface CommandProcessor
public void exec(CommandContext ctx)
CommandProcessor
exec
in interface CommandProcessor
public void setLogger(Log log)
setLogger
in interface CommandProcessor
Copyright © 2013 Nuxeo SA. All Rights Reserved.