Package org.apache.camel.health
Enum HealthCheck.Kind
- java.lang.Object
-
- java.lang.Enum<HealthCheck.Kind>
-
- org.apache.camel.health.HealthCheck.Kind
-
- All Implemented Interfaces:
Serializable
,Comparable<HealthCheck.Kind>
- Enclosing interface:
- HealthCheck
public static enum HealthCheck.Kind extends Enum<HealthCheck.Kind>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HealthCheck.Kind
valueOf(String name)
Returns the enum constant of this type with the specified name.static HealthCheck.Kind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READINESS
public static final HealthCheck.Kind READINESS
-
LIVENESS
public static final HealthCheck.Kind LIVENESS
-
ALL
public static final HealthCheck.Kind ALL
-
-
Method Detail
-
values
public static HealthCheck.Kind[] 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 (HealthCheck.Kind c : HealthCheck.Kind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HealthCheck.Kind 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
-
-