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 voidexec(CommandContext ctx)Execute commands.List<Command>getCommands()Gets the list of commands to execute when install() is called.voidsetLogger(Log log)
-
-
-
Method Detail
-
getCommands
public List<Command> getCommands()
Description copied from interface:CommandProcessorGets 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:
getCommandsin interfaceCommandProcessor- Returns:
- the list of commands to execute by this installer
-
exec
public void exec(CommandContext ctx)
Description copied from interface:CommandProcessorExecute commands.- Specified by:
execin interfaceCommandProcessor
-
setLogger
public void setLogger(Log log)
- Specified by:
setLoggerin interfaceCommandProcessor
-
-