org.springframework.boot.actuate.endpoint.annotation

Interface DiscoveredEndpoint<O extends Operation>

    • Method Detail

      • wasDiscoveredBy

        boolean wasDiscoveredBy(Class<? extends EndpointDiscoverer<?,?>> discoverer)
        Return true if the endpoint was discovered by the specified discoverer.
        Parameters:
        discoverer - the discoverer type
        Returns:
        true if discovered using the specified discoverer
      • getEndpointBean

        Object getEndpointBean()
        Return the source bean that was used to construct the DiscoveredEndpoint.
        Returns:
        the source endpoint bean