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 String
INTERPRETER_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.String
getName()
Get the name of the interpreter.protected fr.ens.biologie.genomique.kenetre.util.process.SimpleProcess
newSimpleProcess()
Create a new SimpleProcess that will be use to launch the command.String
toString()
-
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:ExecutorInterpreter
Get the name of the interpreter.- Returns:
- the name of the interpreter
-
createCommandLine
public List<String> createCommandLine(String arguments)
Description copied from interface:ExecutorInterpreter
Create 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 IOException
Description copied from class:AbstractExecutorInterpreter
Create a new SimpleProcess that will be use to launch the command.- Overrides:
newSimpleProcess
in classAbstractExecutorInterpreter
- Returns:
- a new SimpleProcess object
- Throws:
IOException
- if an error occurs while creating the process
-
-