Class RExecutorFactory
java.lang.Object
fr.ens.biologie.genomique.eoulsan.util.r.RExecutorFactory
This class define a factory to create RExecutor objects.
- Since:
- 2.0
- Author:
- Laurent Jourdren
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDefine a enum for the mode of RExecutor. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RExecutornewRExecutor(RExecutorFactory.Mode mode, String rServeServer, String dockerImage, File outputDirectory, File temporaryDirectory) Create a new instance of RExecutor.
-
Constructor Details
-
RExecutorFactory
public RExecutorFactory()
-
-
Method Details
-
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
-