Enum AbstractEoulsanRuntime.EoulsanExecMode
- java.lang.Object
-
- java.lang.Enum<AbstractEoulsanRuntime.EoulsanExecMode>
-
- fr.ens.biologie.genomique.eoulsan.AbstractEoulsanRuntime.EoulsanExecMode
-
- All Implemented Interfaces:
Serializable
,Comparable<AbstractEoulsanRuntime.EoulsanExecMode>
- Enclosing class:
- AbstractEoulsanRuntime
public static enum AbstractEoulsanRuntime.EoulsanExecMode extends Enum<AbstractEoulsanRuntime.EoulsanExecMode>
This Enum define the Eoulsan execution mode.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AMAZON
CLUSTER
CLUSTER_TASK
EXTERNAL_APP
HADOOP
HADOOP_TASK
LOCAL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isHadoopMode()
Test if Eoulsan is in an Hadoop mode.boolean
isHadoopProtocolMode()
Test if Hadoop protocols can be used in the current Eoulsan mode.static AbstractEoulsanRuntime.EoulsanExecMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static AbstractEoulsanRuntime.EoulsanExecMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOCAL
public static final AbstractEoulsanRuntime.EoulsanExecMode LOCAL
-
HADOOP
public static final AbstractEoulsanRuntime.EoulsanExecMode HADOOP
-
HADOOP_TASK
public static final AbstractEoulsanRuntime.EoulsanExecMode HADOOP_TASK
-
AMAZON
public static final AbstractEoulsanRuntime.EoulsanExecMode AMAZON
-
CLUSTER
public static final AbstractEoulsanRuntime.EoulsanExecMode CLUSTER
-
CLUSTER_TASK
public static final AbstractEoulsanRuntime.EoulsanExecMode CLUSTER_TASK
-
EXTERNAL_APP
public static final AbstractEoulsanRuntime.EoulsanExecMode EXTERNAL_APP
-
-
Method Detail
-
values
public static AbstractEoulsanRuntime.EoulsanExecMode[] 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 (AbstractEoulsanRuntime.EoulsanExecMode c : AbstractEoulsanRuntime.EoulsanExecMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractEoulsanRuntime.EoulsanExecMode 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
-
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
-
-