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. |
AbstractExposableEndpoint(String id,
boolean enabledByDefault,
Collection<? extends O> operations)
Deprecated.
since 2.0.6 in favor of
AbstractExposableEndpoint(EndpointId, boolean, Collection) |
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Returns the id of the endpoint.
|
Collection<O> |
getOperations()
Returns the operations of the endpoint.
|
boolean |
isEnableByDefault()
Returns if the endpoint is enabled by default.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEndpointId@Deprecated public AbstractExposableEndpoint(String id, boolean enabledByDefault, Collection<? extends O> operations)
AbstractExposableEndpoint(EndpointId, boolean, Collection)AbstractExposableEndpoint instance.id - the endpoint idenabledByDefault - if the endpoint is enabled by defaultoperations - the endpoint operationspublic 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 String getId()
ExposableEndpointgetId 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.