Class CommandProcessorImpl
java.lang.Object
org.nuxeo.runtime.deployment.preprocessor.install.CommandProcessorImpl
- All Implemented Interfaces:
CommandProcessor
- Author:
- Bogdan Stefanescu
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
exec
(CommandContext ctx) Execute commands.Gets the list of commands to execute when install() is called.void
setLogger
(org.apache.logging.log4j.Logger log)
-
Constructor Details
-
CommandProcessorImpl
public CommandProcessorImpl()
-
-
Method Details
-
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
Description copied from interface:CommandProcessor
Execute commands.- Specified by:
exec
in interfaceCommandProcessor
-
setLogger
public void setLogger(org.apache.logging.log4j.Logger log) - Specified by:
setLogger
in interfaceCommandProcessor
-