public abstract class AbstractEndpoint<T> extends Object implements Endpoint<T>
Endpoint implementations.| Constructor and Description |
|---|
AbstractEndpoint(String id) |
AbstractEndpoint(String id,
boolean sensitive,
boolean enabled) |
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
The logical ID of the endpoint.
|
boolean |
isEnabled()
Return if the endpoint is enabled.
|
boolean |
isSensitive()
Return if the endpoint is sensitive, i.e.
|
void |
setEnabled(boolean enabled) |
void |
setId(String id) |
void |
setSensitive(boolean sensitive) |
public AbstractEndpoint(String id)
public AbstractEndpoint(String id, boolean sensitive, boolean enabled)
public String getId()
Endpointpublic void setId(String id)
public boolean isEnabled()
Endpointpublic void setEnabled(boolean enabled)
public boolean isSensitive()
EndpointisSensitive in interface Endpoint<T>public void setSensitive(boolean sensitive)
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.