O
- the operation typepublic interface DiscoveredEndpoint<O extends Operation> extends ExposableEndpoint<O>
endpoint
discovered by an EndpointDiscoverer
.Modifier and Type | Method and Description |
---|---|
Object |
getEndpointBean()
Return the source bean that was used to construct the
DiscoveredEndpoint . |
boolean |
wasDiscoveredBy(Class<? extends EndpointDiscoverer<?,?>> discoverer)
Return
true if the endpoint was discovered by the specified discoverer. |
getEndpointId, getId, getOperations, isEnableByDefault
boolean wasDiscoveredBy(Class<? extends EndpointDiscoverer<?,?>> discoverer)
true
if the endpoint was discovered by the specified discoverer.discoverer
- the discoverer typetrue
if discovered using the specified discovererObject getEndpointBean()
DiscoveredEndpoint
.Copyright © 2019 Pivotal Software, Inc.. All rights reserved.