Class DockerExecutorInterpreter
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.galaxytools.executorinterpreters.AbstractExecutorInterpreter
-
- fr.ens.biologie.genomique.eoulsan.galaxytools.executorinterpreters.DockerExecutorInterpreter
-
- All Implemented Interfaces:
ExecutorInterpreter
public class DockerExecutorInterpreter extends AbstractExecutorInterpreter
This class define a Docker executor interpreter.- Since:
- 2.0
- Author:
- Laurent Jourdren
-
-
Field Summary
Fields Modifier and Type Field Description static StringINTERPRETER_NAME
-
Constructor Summary
Constructors Constructor Description DockerExecutorInterpreter(String dockerImage)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>createCommandLine(String arguments)Create the command line for the the argument of the interpreter.StringgetName()Get the name of the interpreter.protected fr.ens.biologie.genomique.kenetre.util.process.SimpleProcessnewSimpleProcess()Create a new SimpleProcess that will be use to launch the command.StringtoString()-
Methods inherited from class fr.ens.biologie.genomique.eoulsan.galaxytools.executorinterpreters.AbstractExecutorInterpreter
execute
-
-
-
-
Field Detail
-
INTERPRETER_NAME
public static final String INTERPRETER_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DockerExecutorInterpreter
public DockerExecutorInterpreter(String dockerImage)
Constructor.- Parameters:
dockerImage- Docker image
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:ExecutorInterpreterGet the name of the interpreter.- Returns:
- the name of the interpreter
-
createCommandLine
public List<String> createCommandLine(String arguments)
Description copied from interface:ExecutorInterpreterCreate the command line for the the argument of the interpreter.- Parameters:
arguments- the interpreter arguments- Returns:
- the command line
-
newSimpleProcess
protected fr.ens.biologie.genomique.kenetre.util.process.SimpleProcess newSimpleProcess() throws IOExceptionDescription copied from class:AbstractExecutorInterpreterCreate a new SimpleProcess that will be use to launch the command.- Overrides:
newSimpleProcessin classAbstractExecutorInterpreter- Returns:
- a new SimpleProcess object
- Throws:
IOException- if an error occurs while creating the process
-
-