public final class MonitoredEndpoint<C extends MonitorServiceConfiguration.AbstractEndpointConfiguration> extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ConnectionData |
getConnectionData() |
C |
getEndpointConfiguration() |
String |
getName() |
SSLContext |
getSSLContext() |
int |
hashCode() |
boolean |
isLocal() |
static <C extends MonitorServiceConfiguration.AbstractEndpointConfiguration> |
of(C endpointConfiguration,
SSLContext sslContext)
|
String |
toString() |
public static <C extends MonitorServiceConfiguration.AbstractEndpointConfiguration> MonitoredEndpoint<C> of(C endpointConfiguration, SSLContext sslContext)
endpointConfiguration - the configuration to read from when creating the resultsslContext - the SSLContext to associate with the result or null if no context should be
associatedMonitoredEndpointpublic C getEndpointConfiguration()
public ConnectionData getConnectionData()
ConnectionData to use when connecting to the endpoint or null if this is a local endpointpublic String getName()
MonitoredEndpointpublic SSLContext getSSLContext()
SSLContext associated with this endpointpublic boolean isLocal()
true if this is a local endpoint - i.e. the connection does not need a hostname, username,
password, etc.; a shorthand for connectionData == nullCopyright © 2015–2017 Red Hat, Inc.. All rights reserved.