Enum InfoContributorFallback
java.lang.Object
java.lang.Enum<InfoContributorFallback>
org.springframework.boot.actuate.autoconfigure.info.InfoContributorFallback
- All Implemented Interfaces:
Serializable
,Comparable<InfoContributorFallback>
,Constable
Controls the fallback behavior when the primary property that controls whether an info
contributor is enabled is not set.
- Since:
- 2.6.0
- Author:
- Andy Wilkinson
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDo not fall back, thereby disabling the info contributor.Fall back to themanagement.info.defaults.enabled
property, matching if it istrue
or if it is not configured. -
Method Summary
Modifier and TypeMethodDescriptionstatic InfoContributorFallback
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.
-
Enum Constant Details
-
USE_DEFAULTS_PROPERTY
Fall back to themanagement.info.defaults.enabled
property, matching if it istrue
or if it is not configured. -
DISABLE
Do not fall back, thereby disabling the info contributor.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-