public class MonitorConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
OPTION_CONFIGURATION_NAME |
static String |
OPTION_CRITICAL_THRESHOLD |
static String |
OPTION_JOB |
static String |
OPTION_LIGHTBLUE_CLIENT_PROPERTIES |
static String |
OPTION_PERIODS |
static String |
OPTION_WARN_THRESHOLD |
static org.apache.commons.cli.Options |
options |
| Constructor and Description |
|---|
MonitorConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyProperties(Properties p) |
String |
getClientConfig() |
String |
getConfigurationName() |
Integer |
getCriticalThreshold() |
Integer |
getPeriods() |
JobType |
getType() |
Integer |
getWarnThreshold() |
static MonitorConfiguration |
processArguments(String[] args) |
void |
setClientConfig(String clientConfig) |
void |
setConfigurationName(String configurationName) |
void |
setCriticalThreshold(Integer criticalThreshold) |
void |
setPeriods(Integer periods) |
void |
setType(JobType type) |
void |
setWarnThreshold(Integer threshold) |
public static final String OPTION_LIGHTBLUE_CLIENT_PROPERTIES
public static final String OPTION_JOB
public static final String OPTION_PERIODS
public static final String OPTION_CONFIGURATION_NAME
public static final String OPTION_WARN_THRESHOLD
public static final String OPTION_CRITICAL_THRESHOLD
public static final org.apache.commons.cli.Options options
public String getClientConfig()
public void setClientConfig(String clientConfig)
public JobType getType()
public void setType(JobType type)
public Integer getPeriods()
public void setPeriods(Integer periods)
public String getConfigurationName()
public void setConfigurationName(String configurationName)
public Integer getWarnThreshold()
public void setWarnThreshold(Integer threshold)
public Integer getCriticalThreshold()
public void setCriticalThreshold(Integer criticalThreshold)
public static MonitorConfiguration processArguments(String[] args)
public void applyProperties(Properties p)
Copyright © 2016. All rights reserved.