O - the operation type.public abstract class AbstractExposableEndpoint<O extends Operation> extends Object implements ExposableEndpoint<O>
ExposableEndpoint implementations.| Constructor and Description |
|---|
AbstractExposableEndpoint(EndpointId id,
boolean enabledByDefault,
Collection<? extends O> operations)
Create a new
AbstractExposableEndpoint instance. |
| Modifier and Type | Method and Description |
|---|---|
EndpointId |
getEndpointId()
Return the endpoint ID.
|
Collection<O> |
getOperations()
Returns the operations of the endpoint.
|
boolean |
isEnableByDefault()
Returns if the endpoint is enabled by default.
|
public AbstractExposableEndpoint(EndpointId id, boolean enabledByDefault, Collection<? extends O> operations)
AbstractExposableEndpoint instance.id - the endpoint idenabledByDefault - if the endpoint is enabled by defaultoperations - the endpoint operationspublic EndpointId getEndpointId()
ExposableEndpointgetEndpointId in interface ExposableEndpoint<O extends Operation>public boolean isEnableByDefault()
ExposableEndpointisEnableByDefault in interface ExposableEndpoint<O extends Operation>public Collection<O> getOperations()
ExposableEndpointgetOperations in interface ExposableEndpoint<O extends Operation>Copyright © 2019 Pivotal Software, Inc.. All rights reserved.