public enum HealthLevelOfDetail extends Enum<HealthLevelOfDetail>
This class provides a set of common constants to indicate the level of detail to be included in the Health status response.
Enum Constant and Description |
---|
STATUS |
STATUS_DESCRIPTION_DETAILS |
Modifier and Type | Method and Description |
---|---|
static HealthLevelOfDetail |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HealthLevelOfDetail[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HealthLevelOfDetail STATUS_DESCRIPTION_DETAILS
public static final HealthLevelOfDetail STATUS
public static HealthLevelOfDetail[] values()
for (HealthLevelOfDetail c : HealthLevelOfDetail.values()) System.out.println(c);
public static HealthLevelOfDetail valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null