Interface ExecutorInterpreter
-
- All Known Implementing Classes:
AbstractExecutorInterpreter,DefaultExecutorInterpreter,DockerExecutorInterpreter,GenericExecutorInterpreter
public interface ExecutorInterpreterThis interface define a executor interpreter for Galaxy tools.- Since:
- 2.0
- Author:
- Laurent Jourdren
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>createCommandLine(String arguments)Create the command line for the the argument of the interpreter.ToolExecutorResultexecute(List<String> commandLine, File executionDirectory, File temporaryDirectory, File stdoutFile, File stderrFile, File... filesUsed)Execute a command line.StringgetName()Get the name of the interpreter.
-
-
-
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 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
-
-