Class AbstractExecutorInterpreter
java.lang.Object
fr.ens.biologie.genomique.eoulsan.galaxytools.executorinterpreters.AbstractExecutorInterpreter
- All Implemented Interfaces:
ExecutorInterpreter
- Direct Known Subclasses:
DefaultExecutorInterpreter,DockerExecutorInterpreter,GenericExecutorInterpreter
This class define an abstract executor interpreter that contains the default implementation of
the
execute() method that use a ProcessBuilder.- Since:
- 2.0
- Author:
- Laurent Jourdren
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface fr.ens.biologie.genomique.eoulsan.galaxytools.executorinterpreters.ExecutorInterpreter
createCommandLine, getName
-
Constructor Details
-
AbstractExecutorInterpreter
public AbstractExecutorInterpreter()
-
-
Method Details
-
execute
public ToolExecutorResult execute(List<String> commandLine, File executionDirectory, File temporaryDirectory, File stdoutFile, File stderrFile, File... filesUsed) throws IOException Description copied from interface:ExecutorInterpreterExecute a command line.- Specified by:
executein interfaceExecutorInterpreter- 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
-