Class GenericExecutorInterpreter

  • All Implemented Interfaces:
    ExecutorInterpreter

    public class GenericExecutorInterpreter
    extends AbstractExecutorInterpreter
    This class define a generic executor interpreter. The path of the executor is first searched in Eoulsan settings, and not set, it will be search in the system PATH.
    Since:
    2.0
    Author:
    Laurent Jourdren
    • Constructor Detail

      • GenericExecutorInterpreter

        public GenericExecutorInterpreter​(String interpreterName)
        Constructor.
        Parameters:
        interpreterName - the name of the interpreter
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: ExecutorInterpreter
        Get the name of the interpreter.
        Returns:
        the name of the interpreter
      • getInterpreterPath

        protected File getInterpreterPath()
        Get the interpreter path.
        Returns:
        a File with the interpreter path
      • createCommandLine

        public List<String> createCommandLine​(String arguments)
        Description copied from interface: ExecutorInterpreter
        Create the command line for the the argument of the interpreter.
        Parameters:
        arguments - the interpreter arguments
        Returns:
        the command line