Interface EndpointFilter<E extends ExposableEndpoint<?>>

Type Parameters:
E - the endpoint type
All Known Implementing Classes:
DiscovererEndpointFilter, IncludeExcludeEndpointFilter
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface EndpointFilter<E extends ExposableEndpoint<?>>
Strategy class that can be used to filter endpoints.
Since:
2.0.0
Author:
Phillip Webb
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    match(E endpoint)
    Return true if the filter matches.
  • Method Details

    • match

      boolean match(E endpoint)
      Return true if the filter matches.
      Parameters:
      endpoint - the endpoint to check
      Returns:
      true if the filter matches