public class Configuration extends Object
from(java.util.Properties). The caller should make sure
the configuration object is valid (isValid()) and, in case it's not, can get indications of errors by
calling getValidationMessages().| Modifier and Type | Method and Description |
|---|---|
static Configuration |
from(Properties properties) |
String |
getAuthId() |
String |
getAuthSecret() |
int |
getBatchSize() |
int |
getBufferCapacity() |
int |
getCollectdPort() |
String |
getGangliaGroup() |
int |
getGangliaPort() |
int |
getGraphitePort() |
URI |
getHttpProxy() |
String |
getMulticastIfOverride() |
String |
getPersonaId() |
int |
getRestMaxConnections() |
URI |
getRestUrl() |
ServerType |
getServerType() |
Set<Service> |
getServices() |
int |
getStatsDport() |
int |
getTcpPort() |
String |
getTenant() |
int |
getUdpPort() |
Set<String> |
getValidationMessages() |
boolean |
isValid() |
public static Configuration from(Properties properties)
public boolean isValid()
public Set<String> getValidationMessages()
public int getUdpPort()
public int getTcpPort()
public int getGangliaPort()
public int getStatsDport()
public int getCollectdPort()
public int getGraphitePort()
public String getGangliaGroup()
public String getMulticastIfOverride()
public ServerType getServerType()
public URI getRestUrl()
public URI getHttpProxy()
public String getTenant()
public String getAuthId()
public String getAuthSecret()
public String getPersonaId()
public int getBufferCapacity()
public int getBatchSize()
public int getRestMaxConnections()
Copyright © 2014–2016 Red Hat, Inc.. All rights reserved.