public enum InfoContributorFallback extends Enum<InfoContributorFallback>
OnEndpointElementCondition
Enum Constant and Description |
---|
DISABLE
Do not fall back, thereby disabling the info contributor.
|
USE_DEFAULTS_PROPERTY
Fall back to the
management.info.defaults.enabled property, matching if it
is true or if it is not configured. |
Modifier and Type | Method and Description |
---|---|
static InfoContributorFallback |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InfoContributorFallback[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InfoContributorFallback USE_DEFAULTS_PROPERTY
management.info.defaults.enabled
property, matching if it
is true
or if it is not configured.public static final InfoContributorFallback DISABLE
public static InfoContributorFallback[] values()
for (InfoContributorFallback c : InfoContributorFallback.values()) System.out.println(c);
public static InfoContributorFallback 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