@Retention(RUNTIME)
@Target({METHOD,TYPE})
@Conditional(org.springframework.boot.actuate.condition.OnEnabledEndpointCondition.class)
@Documented
public @interface ConditionalOnEnabledEndpointConditional that checks whether or not an endpoint is enabled. Matches if the value of the endpoints.<name>.enabled property is true. Does not match if the property's value or enabledByDefault is false. Otherwise, matches if the value of the endpoints.enabled property is true or if the property is not configured.
- 从以下版本开始:
- 1.2.4