Interface ExecutorInterpreter

    • Method Detail

      • getName

        String getName()
        Get the name of the interpreter.
        Returns:
        the name of the interpreter
      • createCommandLine

        List<String> createCommandLine​(String arguments)
        Create the command line for the the argument of the interpreter.
        Parameters:
        arguments - the interpreter arguments
        Returns:
        the command line
      • execute

        ToolExecutorResult execute​(List<String> commandLine,
                                   File executionDirectory,
                                   File temporaryDirectory,
                                   File stdoutFile,
                                   File stderrFile,
                                   File... filesUsed)
                            throws IOException
        Execute a command line.
        Parameters:
        commandLine - the command line to execute
        executionDirectory - execution directory
        temporaryDirectory - temporary directory
        stdoutFile - stdout file
        stderrFile - stderr file
        filesUsed - files used
        Returns:
        a ToolExecutor object
        Throws:
        IOException - if an error occurs while executing the command