接口 DiscoveredEndpoint<O extends Operation>
- 类型参数:
O
- the operation type
- 所有超级接口:
ExposableEndpoint<O>
- 所有已知实现类:
AbstractDiscoveredEndpoint
public interface DiscoveredEndpoint<O extends Operation> extends ExposableEndpoint<O>
Anendpoint
discovered by anEndpointDiscoverer
.- 从以下版本开始:
- 2.0.0
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 Object
getEndpointBean()
Return the source bean that was used to construct theDiscoveredEndpoint
.boolean
wasDiscoveredBy(Class<? extends EndpointDiscoverer<?,?>> discoverer)
Returntrue
if the endpoint was discovered by the specified discoverer.从接口继承的方法 org.springframework.boot.actuate.endpoint.ExposableEndpoint
getEndpointId, getOperations, isEnableByDefault
方法详细资料
wasDiscoveredBy
boolean wasDiscoveredBy(Class<? extends EndpointDiscoverer<?,?>> discoverer)
Returntrue
if the endpoint was discovered by the specified discoverer.- 参数:
discoverer
- the discoverer type- 返回:
true
if discovered using the specified discoverer
getEndpointBean
Object getEndpointBean()
Return the source bean that was used to construct theDiscoveredEndpoint
.- 返回:
- the source endpoint bean