@Retention(value=RUNTIME)
@Target(value={TYPE,METHOD})
@Documented
@Conditional(value=org.springframework.boot.actuate.autoconfigure.info.OnEnabledInfoContributorCondition.class)
public @interface ConditionalOnEnabledInfoContributor
@Conditional that checks whether or not a default info contributor
is enabled. Matches if the value of the management.info.<name>.enabled property
is true. Otherwise, matches if the value of the
management.info.defaults.enabled property is true or if it is not
configured.| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String |
value
The name of the info contributor.
|