Annotation Type ConditionalOnEnabledHealthIndicator
@Retention(RUNTIME) @Target({TYPE,METHOD}) @Documented @Conditional(org.springframework.boot.actuate.autoconfigure.OnEnabledHealthIndicatorCondition.class) public @interface ConditionalOnEnabledHealthIndicator
Conditional
that checks whether or not a default health indicator is enabled. Matches if the value of themanagement.health.<name>.enabled
property istrue
. Otherwise, matches if the value of themanagement.health.defaults.enabled
property istrue
or if it is not configured.- Since:
- 1.3.0