Enum CheckApiMetric.Status
- java.lang.Object
-
- java.lang.Enum<CheckApiMetric.Status>
-
- google.registry.monitoring.whitebox.CheckApiMetric.Status
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CheckApiMetric.Status>
- Enclosing class:
- CheckApiMetric
public static enum CheckApiMetric.Status extends java.lang.Enum<CheckApiMetric.Status>
Status of the CheckApi command.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INVALID_NAME
INVALID_REGISTRY_PHASE
SUCCESS
UNKNOWN_ERROR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDisplayLabel()
static CheckApiMetric.Status
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CheckApiMetric.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final CheckApiMetric.Status SUCCESS
-
INVALID_NAME
public static final CheckApiMetric.Status INVALID_NAME
-
INVALID_REGISTRY_PHASE
public static final CheckApiMetric.Status INVALID_REGISTRY_PHASE
-
UNKNOWN_ERROR
public static final CheckApiMetric.Status UNKNOWN_ERROR
-
-
Method Detail
-
values
public static CheckApiMetric.Status[] 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 (CheckApiMetric.Status c : CheckApiMetric.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CheckApiMetric.Status 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
-
getDisplayLabel
public java.lang.String getDisplayLabel()
-
-