Interface CommandProcessor

All Known Implementing Classes:
CommandProcessorImpl

public interface CommandProcessor
Author:
Bogdan Stefanescu
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Execute commands.
    Gets the list of commands to execute when install() is called.
    void
    setLogger(org.apache.logging.log4j.Logger log)
     
  • Method Details

    • getCommands

      List<Command> getCommands()
      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.

      Returns:
      the list of commands to execute by this installer
    • exec

      void exec(CommandContext ctx)
      Execute commands.
    • setLogger

      void setLogger(org.apache.logging.log4j.Logger log)