org.springframework.boot.actuate.autoconfigure.endpoint

Class ExposeExcludePropertyEndpointFilter<E extends ExposableEndpoint<?>>

  • java.lang.Object
    • org.springframework.boot.actuate.autoconfigure.endpoint.ExposeExcludePropertyEndpointFilter<E>
  • Type Parameters:
    E - the endpoint type
    All Implemented Interfaces:
    EndpointFilter<E>


    public class ExposeExcludePropertyEndpointFilter<E extends ExposableEndpoint<?>>
    extends Object
    implements EndpointFilter<E>
    EndpointFilter that will filter endpoints based on include and exclude properties.
    Since:
    2.0.0
    Author:
    Phillip Webb
    • Constructor Detail

      • ExposeExcludePropertyEndpointFilter

        public ExposeExcludePropertyEndpointFilter(Class<E> endpointType,
                                                   Environment environment,
                                                   String prefix,
                                                   String... exposeDefaults)
    • Method Detail

      • match

        public boolean match(E endpoint)
        Description copied from interface: EndpointFilter
        Return true if the filter matches.
        Specified by:
        match in interface EndpointFilter<E extends ExposableEndpoint<?>>
        Parameters:
        endpoint - the endpoint to check
        Returns:
        true if the filter matches