@Retention(value=RUNTIME) @Target(value={TYPE,METHOD}) @Documented @Conditional(value=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 the management.health.<name>.enabled
property is
true
. Otherwise, matches if the value of the
management.health.defaults.enabled
property is true
or if it is not
configured.public abstract String value
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.