Package org.apache.unomi.healthcheck
Enum HealthCheckResponse.Status
- java.lang.Object
-
- java.lang.Enum<HealthCheckResponse.Status>
-
- org.apache.unomi.healthcheck.HealthCheckResponse.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<HealthCheckResponse.Status>
- Enclosing class:
- HealthCheckResponse
public static enum HealthCheckResponse.Status extends Enum<HealthCheckResponse.Status>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HealthCheckResponse.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static HealthCheckResponse.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DOWN
public static final HealthCheckResponse.Status DOWN
-
UP
public static final HealthCheckResponse.Status UP
-
LIVE
public static final HealthCheckResponse.Status LIVE
-
ERROR
public static final HealthCheckResponse.Status ERROR
-
-
Method Detail
-
values
public static HealthCheckResponse.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 (HealthCheckResponse.Status c : HealthCheckResponse.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 HealthCheckResponse.Status 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
-
-