Enum ExecutionDeploymentState
- java.lang.Object
-
- java.lang.Enum<ExecutionDeploymentState>
-
- org.apache.flink.runtime.jobmaster.ExecutionDeploymentState
-
- All Implemented Interfaces:
Serializable
,Comparable<ExecutionDeploymentState>
public enum ExecutionDeploymentState extends Enum<ExecutionDeploymentState>
Possible states for the deployment of an execution.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExecutionDeploymentState
valueOf(String name)
Returns the enum constant of this type with the specified name.static ExecutionDeploymentState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PENDING
public static final ExecutionDeploymentState PENDING
The deployment has or is about to be started.
-
DEPLOYED
public static final ExecutionDeploymentState DEPLOYED
The deployment has been acknowledged by the TaskExecutor.
-
-
Method Detail
-
values
public static ExecutionDeploymentState[] 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 (ExecutionDeploymentState c : ExecutionDeploymentState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExecutionDeploymentState 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
-
-