O
- The operation type.public abstract class AbstractExposableEndpoint<O extends Operation> extends Object implements ExposableEndpoint<O>
ExposableEndpoint
implementations.Constructor and Description |
---|
AbstractExposableEndpoint(String id,
boolean enabledByDefault,
Collection<? extends O> operations)
Create a new
AbstractExposableEndpoint instance. |
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.
|
public AbstractExposableEndpoint(String 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 © 2018 Pivotal Software, Inc.. All rights reserved.