Class GenericExecutorInterpreter
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.galaxytools.executorinterpreters.AbstractExecutorInterpreter
-
- fr.ens.biologie.genomique.eoulsan.galaxytools.executorinterpreters.GenericExecutorInterpreter
-
- All Implemented Interfaces:
ExecutorInterpreter
public class GenericExecutorInterpreter extends AbstractExecutorInterpreter
This class define a generic executor interpreter. The path of the executor is first searched in Eoulsan settings, and not set, it will be search in the system PATH.- Since:
- 2.0
- Author:
- Laurent Jourdren
-
-
Constructor Summary
Constructors Constructor Description GenericExecutorInterpreter(String interpreterName)
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.protected File
getInterpreterPath()
Get the interpreter path.String
getName()
Get the name of the interpreter.String
toString()
-
Methods inherited from class fr.ens.biologie.genomique.eoulsan.galaxytools.executorinterpreters.AbstractExecutorInterpreter
execute, newSimpleProcess
-
-
-
-
Constructor Detail
-
GenericExecutorInterpreter
public GenericExecutorInterpreter(String interpreterName)
Constructor.- Parameters:
interpreterName
- the name of the interpreter
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:ExecutorInterpreter
Get the name of the interpreter.- Returns:
- the name of the interpreter
-
getInterpreterPath
protected File getInterpreterPath()
Get the interpreter path.- Returns:
- a File with the interpreter path
-
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
-
-