Enum ParallelizationMode
- java.lang.Object
-
- java.lang.Enum<ParallelizationMode>
-
- fr.ens.biologie.genomique.eoulsan.core.ParallelizationMode
-
- All Implemented Interfaces:
Serializable
,Comparable<ParallelizationMode>
public enum ParallelizationMode extends Enum<ParallelizationMode>
This enum define the parallelization modes of a step.- Since:
- 2.0
- Author:
- Laurent Jourdren
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NOT_NEEDED
OWN_PARALLELIZATION
STANDARD
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ParallelizationMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static ParallelizationMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_NEEDED
public static final ParallelizationMode NOT_NEEDED
-
STANDARD
public static final ParallelizationMode STANDARD
-
OWN_PARALLELIZATION
public static final ParallelizationMode OWN_PARALLELIZATION
-
-
Method Detail
-
values
public static ParallelizationMode[] 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 (ParallelizationMode c : ParallelizationMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ParallelizationMode 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
-
-