Interface DiscoveredEndpoint<O extends Operation>
- Type Parameters:
O- the operation type
- All Superinterfaces:
ExposableEndpoint<O>
- All Known Implementing Classes:
AbstractDiscoveredEndpoint
An
endpoint discovered by an EndpointDiscoverer.- Since:
- 2.0.0
- Author:
- Phillip Webb
-
Method Summary
Modifier and TypeMethodDescriptionReturn the source bean that was used to construct theDiscoveredEndpoint.booleanwasDiscoveredBy(Class<? extends EndpointDiscoverer<?, ?>> discoverer) Returntrueif the endpoint was discovered by the specified discoverer.Methods inherited from interface org.springframework.boot.actuate.endpoint.ExposableEndpoint
getDefaultAccess, getEndpointId, getOperations, isEnableByDefault
-
Method Details
-
wasDiscoveredBy
Returntrueif the endpoint was discovered by the specified discoverer.- Parameters:
discoverer- the discoverer type- Returns:
trueif discovered using the specified discoverer
-
getEndpointBean
Object getEndpointBean()Return the source bean that was used to construct theDiscoveredEndpoint.- Returns:
- the source endpoint bean
-