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()
Endpoint
public void setId(String id)
public boolean isEnabled()
Endpoint
public void setEnabled(boolean enabled)
public boolean isSensitive()
Endpoint
isSensitive
in interface Endpoint<T>
public void setSensitive(boolean sensitive)
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.