Class RModuleCommonConfiguration
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.modules.diffana.RModuleCommonConfiguration
-
public class RModuleCommonConfiguration extends Object
This class define common methods used for the configuration of the step of the package.- Since:
- 2.0
- Author:
- Laurent Jourdren
-
-
Field Summary
Fields Modifier and Type Field Description static String
DOCKER_IMAGE_PARAMETER
static String
EXECUTION_MODE_PARAMETER
static String
RSERVE_SERVER_PARAMETER
-
Constructor Summary
Constructors Constructor Description RModuleCommonConfiguration()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RExecutor
parseRExecutorParameter(StepConfigurationContext context, Set<Parameter> stepParameters, Set<Requirement> requirements, String defaultDockerImage)
Parse the step parameter and create a configured RExecutor object.
-
-
-
Field Detail
-
EXECUTION_MODE_PARAMETER
public static final String EXECUTION_MODE_PARAMETER
- See Also:
- Constant Field Values
-
RSERVE_SERVER_PARAMETER
public static final String RSERVE_SERVER_PARAMETER
- See Also:
- Constant Field Values
-
DOCKER_IMAGE_PARAMETER
public static final String DOCKER_IMAGE_PARAMETER
- See Also:
- Constant Field Values
-
-
Method Detail
-
parseRExecutorParameter
public static RExecutor parseRExecutorParameter(StepConfigurationContext context, Set<Parameter> stepParameters, Set<Requirement> requirements, String defaultDockerImage) throws EoulsanException
Parse the step parameter and create a configured RExecutor object.- Parameters:
context
- the step contextstepParameters
- the step parameters. Must be a mutable objectdefaultDockerImage
- default docker image- Returns:
- a configured RExecutor object
- Throws:
EoulsanException
- if one or more parameter is invalid
-
-