Enum Class AbstractEoulsanRuntime.EoulsanExecMode
java.lang.Object
java.lang.Enum<AbstractEoulsanRuntime.EoulsanExecMode>
fr.ens.biologie.genomique.eoulsan.AbstractEoulsanRuntime.EoulsanExecMode
- All Implemented Interfaces:
Serializable,Comparable<AbstractEoulsanRuntime.EoulsanExecMode>,Constable
- Enclosing class:
- AbstractEoulsanRuntime
public static enum AbstractEoulsanRuntime.EoulsanExecMode
extends Enum<AbstractEoulsanRuntime.EoulsanExecMode>
This Enum define the Eoulsan execution mode.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionExecution modes. -
Method Summary
Modifier and TypeMethodDescriptionbooleanTest if Eoulsan is in an Hadoop mode.booleanTest if Hadoop protocols can be used in the current Eoulsan mode.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
LOCAL
Execution modes. -
HADOOP
-
HADOOP_TASK
-
AMAZON
-
CLUSTER
-
CLUSTER_TASK
-
EXTERNAL_APP
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
isHadoopMode
public boolean isHadoopMode()Test if Eoulsan is in an Hadoop mode.- Returns:
- true if Eoulsan is in an Hadoop mode
-
isHadoopProtocolMode
public boolean isHadoopProtocolMode()Test if Hadoop protocols can be used in the current Eoulsan mode.- Returns:
- true if Hadoop protocols can be used in the current Eoulsan mode
-