Class MainCLI


  • public final class MainCLI
    extends Main
    Main class in local mode.
    Since:
    1.0
    Author:
    Laurent Jourdren
    • Constructor Detail

      • MainCLI

        protected MainCLI​(String[] args)
        Constructor.
        Parameters:
        args - command line arguments
    • Method Detail

      • makeOptions

        protected org.apache.commons.cli.Options makeOptions()
        Create options for command line
        Overrides:
        makeOptions in class Main
        Returns:
        an Options object
      • initializeRuntime

        protected void initializeRuntime​(Settings settings)
        Description copied from class: Main
        Initialize the Eoulsan runtime.
        Specified by:
        initializeRuntime in class Main
      • getHelpEoulsanCommand

        protected String getHelpEoulsanCommand()
        Description copied from class: Main
        Get the command used to launch Eoulsan.
        Specified by:
        getHelpEoulsanCommand in class Main
        Returns:
        a String with the command used to launch Eoulsan
      • getLogHandler

        protected Handler getLogHandler​(URI logFile)
                                 throws IOException
        Description copied from class: Main
        Get the Handler to create the log file.
        Specified by:
        getLogHandler in class Main
        Parameters:
        logFile - the path to the log file
        Returns:
        a new Handler object
        Throws:
        IOException - if an exception occurs while creating the handler