Package cn.sliew.flinkful.common.enums
Enum DeploymentTarget
- java.lang.Object
-
- java.lang.Enum<DeploymentTarget>
-
- cn.sliew.flinkful.common.enums.DeploymentTarget
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DeploymentTarget>
public enum DeploymentTarget extends java.lang.Enum<DeploymentTarget>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NATIVE_KUBERNETES_APPLICATIONNATIVE_KUBERNETES_SESSIONSTANDALONE_APPLICATIONSTANDALONE_SESSIONYARN_APPLICATIONYARN_PER_JOBYARN_SESSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(org.apache.flink.configuration.Configuration configuration)static DeploymentTargetvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DeploymentTarget[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STANDALONE_APPLICATION
public static final DeploymentTarget STANDALONE_APPLICATION
-
STANDALONE_SESSION
public static final DeploymentTarget STANDALONE_SESSION
-
NATIVE_KUBERNETES_APPLICATION
public static final DeploymentTarget NATIVE_KUBERNETES_APPLICATION
-
NATIVE_KUBERNETES_SESSION
public static final DeploymentTarget NATIVE_KUBERNETES_SESSION
-
YARN_APPLICATION
public static final DeploymentTarget YARN_APPLICATION
-
YARN_PER_JOB
public static final DeploymentTarget YARN_PER_JOB
-
YARN_SESSION
public static final DeploymentTarget YARN_SESSION
-
-
Method Detail
-
values
public static DeploymentTarget[] 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 (DeploymentTarget c : DeploymentTarget.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeploymentTarget valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
apply
public void apply(org.apache.flink.configuration.Configuration configuration)
-
-