Enum ReconciliationState
- java.lang.Object
-
- java.lang.Enum<ReconciliationState>
-
- org.apache.flink.kubernetes.operator.api.status.ReconciliationState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ReconciliationState>
public enum ReconciliationState extends java.lang.Enum<ReconciliationState>
Current state of the reconciliation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEPLOYED
The lastReconciledSpec is currently deployed.ROLLED_BACK
Rolled back to the lastStableSpec.ROLLING_BACK
In the process of rolling back to the lastStableSpec.UPGRADING
The spec is being upgraded.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ReconciliationState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ReconciliationState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEPLOYED
public static final ReconciliationState DEPLOYED
The lastReconciledSpec is currently deployed.
-
UPGRADING
public static final ReconciliationState UPGRADING
The spec is being upgraded.
-
ROLLING_BACK
public static final ReconciliationState ROLLING_BACK
In the process of rolling back to the lastStableSpec.
-
ROLLED_BACK
public static final ReconciliationState ROLLED_BACK
Rolled back to the lastStableSpec.
-
-
Method Detail
-
values
public static ReconciliationState[] 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 (ReconciliationState c : ReconciliationState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReconciliationState 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
-
-