类 DiscovererEndpointFilter
- java.lang.Object
- org.springframework.boot.actuate.endpoint.annotation.DiscovererEndpointFilter
- 所有已实现的接口:
EndpointFilter<DiscoveredEndpoint<?>>
public abstract class DiscovererEndpointFilter extends Object implements EndpointFilter<DiscoveredEndpoint<?>>
EndpointFilter
the matches based on theEndpointDiscoverer
the created the endpoint.
构造器概要
构造器 限定符 构造器 说明 protected
DiscovererEndpointFilter(Class<? extends EndpointDiscoverer<?,?>> discoverer)
Create a newDiscovererEndpointFilter
instance.
构造器详细资料
DiscovererEndpointFilter
protected DiscovererEndpointFilter(Class<? extends EndpointDiscoverer<?,?>> discoverer)
Create a newDiscovererEndpointFilter
instance.- 参数:
discoverer
- the required discoverer
方法详细资料
match
public boolean match(DiscoveredEndpoint<?> endpoint)
从接口复制的说明:EndpointFilter
Returntrue
if the filter matches.- 指定者:
match
在接口中EndpointFilter<DiscoveredEndpoint<?>>
- 参数:
endpoint
- the endpoint to check- 返回:
true
if the filter matches