Annotation Type CompatibleConditionalOnEnabledEndpoint


@Retention(RUNTIME) @Target({METHOD,TYPE}) @Documented @Conditional(org.apache.dubbo.spring.boot.actuate.endpoint.condition.CompatibleOnEnabledEndpointCondition.class) public @interface CompatibleConditionalOnEnabledEndpoint
Conditional that checks whether or not an endpoint is enabled, which is compatible with org.springframework.boot.actuate.autoconfigure.endpoint.condition.ConditionalOnEnabledEndpoint ([2.0.x, 2.2.x]) org.springframework.boot.actuate.autoconfigure.endpoint.condition.ConditionalOnAvailableEndpoint
Since:
2.7.7
See Also:
  • CompatibleOnEnabledEndpointCondition
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The endpoint type that should be checked.
  • Element Details

    • endpoint

      Class<?> endpoint
      The endpoint type that should be checked. Inferred when the return type of the @Bean method is either an @Endpoint or an @EndpointExtension.
      Returns:
      the endpoint type to check
      Default:
      java.lang.Void.class