All Known Implementing Classes:
AbstractExecutorInterpreter, DefaultExecutorInterpreter, DockerExecutorInterpreter, GenericExecutorInterpreter

public interface ExecutorInterpreter
This interface define a executor interpreter for Galaxy tools.
Since:
2.0
Author:
Laurent Jourdren
  • Method Details

    • 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