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, wait
getEndpointId
@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()
ExposableEndpoint
getId
in interface ExposableEndpoint<O extends Operation>
public boolean isEnableByDefault()
ExposableEndpoint
isEnableByDefault
in interface ExposableEndpoint<O extends Operation>
public Collection<O> getOperations()
ExposableEndpoint
getOperations
in interface ExposableEndpoint<O extends Operation>
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.