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(org.apache.commons.logging.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(org.apache.commons.logging.Log log)
setLogger
in interface CommandProcessor
Copyright © 2015 Nuxeo SA. All rights reserved.