Annotation Type ConditionalOnEnabledInfoContributor
@Retention(RUNTIME) @Target({TYPE,METHOD}) @Documented @Conditional(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 themanagement.info.<name>.enabled
property istrue
. Otherwise, matches if the value of themanagement.info.defaults.enabled
property istrue
or if it is not configured.- Since:
- 2.0.0