接口 DiscoveredEndpoint<O extends Operation>
- 类型参数:
O
- the operation type
- 所有超级接口:
ExposableEndpoint<O>
- 所有已知实现类:
AbstractDiscoveredEndpoint
An
endpoint
discovered by an EndpointDiscoverer
.- 从以下版本开始:
- 2.0.0
- 作者:
- Phillip Webb
-
方法概要
修饰符和类型方法说明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
getDefaultAccess, getEndpointId, getOperations, isEnableByDefault
-
方法详细资料
-
wasDiscoveredBy
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
-