Interface ExecutorInterpreter
- 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 Summary
Modifier and TypeMethodDescriptioncreateCommandLine(String arguments) Create the command line for the the argument of the interpreter.execute(List<String> commandLine, File executionDirectory, File temporaryDirectory, File stdoutFile, File stderrFile, File... filesUsed) Execute a command line.getName()Get the name of the interpreter.
-
Method Details
-
getName
String getName()Get the name of the interpreter.- Returns:
- the name of the interpreter
-
createCommandLine
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 executeexecutionDirectory- execution directorytemporaryDirectory- temporary directorystdoutFile- stdout filestderrFile- stderr filefilesUsed- files used- Returns:
- a ToolExecutor object
- Throws:
IOException- if an error occurs while executing the command
-