Enum RepushViabilityInfo.Result
- java.lang.Object
-
- java.lang.Enum<RepushViabilityInfo.Result>
-
- com.linkedin.venice.datarecovery.meta.RepushViabilityInfo.Result
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RepushViabilityInfo.Result>
- Enclosing class:
- RepushViabilityInfo
public static enum RepushViabilityInfo.Result extends java.lang.Enum<RepushViabilityInfo.Result>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CURRENT_VERSION_IS_NEWER
DISCOVERY_ERROR
EXCEPTION_THROWN
NO_CURRENT_VERSION
NOT_STARTED
ONGOING_PUSH
SUCCESS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RepushViabilityInfo.Result
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RepushViabilityInfo.Result[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_STARTED
public static final RepushViabilityInfo.Result NOT_STARTED
-
SUCCESS
public static final RepushViabilityInfo.Result SUCCESS
-
DISCOVERY_ERROR
public static final RepushViabilityInfo.Result DISCOVERY_ERROR
-
NO_CURRENT_VERSION
public static final RepushViabilityInfo.Result NO_CURRENT_VERSION
-
CURRENT_VERSION_IS_NEWER
public static final RepushViabilityInfo.Result CURRENT_VERSION_IS_NEWER
-
ONGOING_PUSH
public static final RepushViabilityInfo.Result ONGOING_PUSH
-
EXCEPTION_THROWN
public static final RepushViabilityInfo.Result EXCEPTION_THROWN
-
-
Method Detail
-
values
public static RepushViabilityInfo.Result[] 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 (RepushViabilityInfo.Result c : RepushViabilityInfo.Result.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RepushViabilityInfo.Result 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
-
-