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 Details

    • CommandProcessorImpl

      public CommandProcessorImpl()
  • Method Details

    • 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 interface CommandProcessor
      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 interface CommandProcessor
    • setLogger

      public void setLogger(org.apache.logging.log4j.Logger log)
      Specified by:
      setLogger in interface CommandProcessor