Class DiscovererEndpointFilter
java.lang.Object
org.springframework.boot.actuate.endpoint.annotation.DiscovererEndpointFilter
- All Implemented Interfaces:
EndpointFilter<DiscoveredEndpoint<?>>
public abstract class DiscovererEndpointFilter
extends Object
implements EndpointFilter<DiscoveredEndpoint<?>>
EndpointFilter the matches based on the EndpointDiscoverer the created
the endpoint.- Since:
- 2.0.0
- Author:
- Phillip Webb
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDiscovererEndpointFilter(Class<? extends EndpointDiscoverer<?, ?>> discoverer) Create a newDiscovererEndpointFilterinstance. -
Method Summary
Modifier and TypeMethodDescriptionbooleanmatch(DiscoveredEndpoint<?> endpoint) Returntrueif the filter matches.
-
Constructor Details
-
DiscovererEndpointFilter
Create a newDiscovererEndpointFilterinstance.- Parameters:
discoverer- the required discoverer
-
-
Method Details
-
match
Description copied from interface:EndpointFilterReturntrueif the filter matches.- Specified by:
matchin interfaceEndpointFilter<DiscoveredEndpoint<?>>- Parameters:
endpoint- the endpoint to check- Returns:
trueif the filter matches
-