Class CommandProcessorImpl
- java.lang.Object
-
- org.nuxeo.runtime.deployment.preprocessor.install.CommandProcessorImpl
-
- All Implemented Interfaces:
CommandProcessor
public class CommandProcessorImpl extends Object implements CommandProcessor
- Author:
- Bogdan Stefanescu
-
-
Constructor Summary
Constructors Constructor Description CommandProcessorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
getCommands
public List<Command> getCommands()
Description copied from interface:CommandProcessor
Gets the list of commands to execute when install() is called.The returned list is editable so that you can add new commands or modify existing commands by modifying the returned list.
- Specified by:
getCommands
in interfaceCommandProcessor
- Returns:
- the list of commands to execute by this installer
-
exec
public void exec(CommandContext ctx)
Description copied from interface:CommandProcessor
Execute commands.- Specified by:
exec
in interfaceCommandProcessor
-
setLogger
public void setLogger(Log log)
- Specified by:
setLogger
in interfaceCommandProcessor
-
-