Interface ExposableEndpoint<O extends Operation>
- Type Parameters:
O
- the type of the endpoint's operations
- All Known Subinterfaces:
DiscoveredEndpoint<O>
,ExposableControllerEndpoint
,ExposableJmxEndpoint
,ExposableServletEndpoint
,ExposableWebEndpoint
- All Known Implementing Classes:
AbstractDiscoveredEndpoint
,AbstractExposableEndpoint
public interface ExposableEndpoint<O extends Operation>
Information describing an endpoint that can be exposed in some technology specific way.
- Since:
- 2.0.0
- Author:
- Andy Wilkinson, Phillip Webb
-
Method Summary
Modifier and TypeMethodDescriptionReturn the endpoint ID.Returns the operations of the endpoint.boolean
Returns if the endpoint is enabled by default.
-
Method Details
-
getEndpointId
EndpointId getEndpointId()Return the endpoint ID.- Returns:
- the endpoint ID
-
isEnableByDefault
boolean isEnableByDefault()Returns if the endpoint is enabled by default.- Returns:
- if the endpoint is enabled by default
-
getOperations
Collection<O> getOperations()Returns the operations of the endpoint.- Returns:
- the operations
-