Enum RExecutorFactory.Mode
- java.lang.Object
-
- java.lang.Enum<RExecutorFactory.Mode>
-
- fr.ens.biologie.genomique.eoulsan.util.r.RExecutorFactory.Mode
-
- All Implemented Interfaces:
Serializable
,Comparable<RExecutorFactory.Mode>
- Enclosing class:
- RExecutorFactory
public static enum RExecutorFactory.Mode extends Enum<RExecutorFactory.Mode>
Define a enum for the mode of RExecutor.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RExecutorFactory.Mode
parse(String name)
Parse a mode name and returns the mode.static RExecutorFactory.Mode
valueOf(String name)
Returns the enum constant of this type with the specified name.static RExecutorFactory.Mode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROCESS
public static final RExecutorFactory.Mode PROCESS
-
RSERVE
public static final RExecutorFactory.Mode RSERVE
-
DOCKER
public static final RExecutorFactory.Mode DOCKER
-
-
Method Detail
-
values
public static RExecutorFactory.Mode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RExecutorFactory.Mode c : RExecutorFactory.Mode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RExecutorFactory.Mode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
parse
public static RExecutorFactory.Mode parse(String name)
Parse a mode name and returns the mode.- Parameters:
name
- mode name- Returns:
- a mode object or null if the mode is not found
-
-