public final class MonitoredEndpoint extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ConnectionData |
getConnectionData() |
MonitorServiceConfiguration.EndpointConfiguration |
getEndpointConfiguration() |
String |
getName() |
SSLContext |
getSSLContext() |
int |
hashCode() |
boolean |
isLocal() |
static MonitoredEndpoint |
of(MonitorServiceConfiguration.EndpointConfiguration endpointConfiguration,
SSLContext sslContext)
|
String |
toString() |
public static MonitoredEndpoint of(MonitorServiceConfiguration.EndpointConfiguration 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 MonitorServiceConfiguration.EndpointConfiguration 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–2016 Red Hat, Inc.. All rights reserved.