Enum YarnConfigOptions.UserJarInclusion
- java.lang.Object
-
- java.lang.Enum<YarnConfigOptions.UserJarInclusion>
-
- org.apache.flink.yarn.configuration.YarnConfigOptions.UserJarInclusion
-
- All Implemented Interfaces:
Serializable,Comparable<YarnConfigOptions.UserJarInclusion>,org.apache.flink.configuration.DescribedEnum
- Enclosing class:
- YarnConfigOptions
public static enum YarnConfigOptions.UserJarInclusion extends Enum<YarnConfigOptions.UserJarInclusion> implements org.apache.flink.configuration.DescribedEnum
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.configuration.description.InlineElementgetDescription()static YarnConfigOptions.UserJarInclusionvalueOf(String name)Returns the enum constant of this type with the specified name.static YarnConfigOptions.UserJarInclusion[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISABLED
public static final YarnConfigOptions.UserJarInclusion DISABLED
-
FIRST
public static final YarnConfigOptions.UserJarInclusion FIRST
-
LAST
public static final YarnConfigOptions.UserJarInclusion LAST
-
ORDER
public static final YarnConfigOptions.UserJarInclusion ORDER
-
-
Method Detail
-
values
public static YarnConfigOptions.UserJarInclusion[] 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 (YarnConfigOptions.UserJarInclusion c : YarnConfigOptions.UserJarInclusion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static YarnConfigOptions.UserJarInclusion 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
-
getDescription
public org.apache.flink.configuration.description.InlineElement getDescription()
- Specified by:
getDescriptionin interfaceorg.apache.flink.configuration.DescribedEnum
-
-