Class RExecutorFactory
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.util.r.RExecutorFactory
-
public class RExecutorFactory extends Object
This class define a factory to create RExecutor objects.- Since:
- 2.0
- Author:
- Laurent Jourdren
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RExecutorFactory.Mode
Define a enum for the mode of RExecutor.
-
Constructor Summary
Constructors Constructor Description RExecutorFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RExecutor
newRExecutor(RExecutorFactory.Mode mode, String rServeServer, String dockerImage, File outputDirectory, File temporaryDirectory)
Create a new instance of RExecutor.
-
-
-
Method Detail
-
newRExecutor
public static RExecutor newRExecutor(RExecutorFactory.Mode mode, String rServeServer, String dockerImage, File outputDirectory, File temporaryDirectory) throws IOException
Create a new instance of RExecutor.- Parameters:
mode
- executor moderServeServer
- the Rserve serverdockerImage
- docker imageoutputDirectory
- output directorytemporaryDirectory
- temporary directory- Returns:
- a new instance of RExecutor
- Throws:
IOException
- if an error occurs while creating the instance of RExecutor
-
-