public abstract class DiscovererEndpointFilter extends Object implements EndpointFilter<DiscoveredEndpoint<?>>
EndpointFilter the matches based on the EndpointDiscoverer the created
the endpoint.| Modifier | Constructor and Description |
|---|---|
protected |
DiscovererEndpointFilter(Class<? extends EndpointDiscoverer<?,?>> discoverer)
Create a new
DiscovererEndpointFilter instance. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
match(DiscoveredEndpoint<?> endpoint)
Return
true if the filter matches. |
protected DiscovererEndpointFilter(Class<? extends EndpointDiscoverer<?,?>> discoverer)
DiscovererEndpointFilter instance.discoverer - the required discovererpublic boolean match(DiscoveredEndpoint<?> endpoint)
EndpointFiltertrue if the filter matches.match in interface EndpointFilter<DiscoveredEndpoint<?>>endpoint - the endpoint to checktrue if the filter matchesCopyright © 2019 Pivotal Software, Inc.. All rights reserved.