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 |
getCollectdPort() |
String |
getGangliaGroup() |
int |
getGangliaPort() |
int |
getGraphitePort() |
io.vertx.core.json.JsonObject |
getHttpHeaders() |
int |
getMaxConnections() |
URI |
getMetricsUrl() |
String |
getMulticastIfOverride() |
Set<Service> |
getServices() |
int |
getStatsDport() |
int |
getTcpPort() |
String |
getTenant() |
int |
getUdpPort() |
Set<String> |
getValidationMessages() |
boolean |
isAuthEnabled() |
boolean |
isSendTenant() |
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 URI getMetricsUrl()
public boolean isSendTenant()
public String getTenant()
public boolean isAuthEnabled()
public String getAuthId()
public String getAuthSecret()
public io.vertx.core.json.JsonObject getHttpHeaders()
public int getMaxConnections()
public int getBatchSize()
Copyright © 2014–2016 Red Hat, Inc.. All rights reserved.