Constructor and Description |
---|
EndpointInfo(String id,
boolean enableByDefault,
Collection<T> operations)
Creates a new
EndpointInfo describing an endpoint with the given id
and operations . |
Modifier and Type | Method and Description |
---|---|
String |
getId()
Returns the id of the endpoint.
|
Collection<T> |
getOperations()
Returns the operations of the endpoint.
|
boolean |
isEnableByDefault()
Returns if the endpoint is enabled by default.
|
public EndpointInfo(String id, boolean enableByDefault, Collection<T> operations)
EndpointInfo
describing an endpoint with the given id
and operations
.id
- the id of the endpointenableByDefault
- if the endpoint is enabled by defaultoperations
- the operations of the endpointpublic String getId()
public boolean isEnableByDefault()
public Collection<T> getOperations()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.