public class JmxTransConfiguration extends Object
| Constructor and Description |
|---|
JmxTransConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
List<File> |
getAdditionalJars() |
File |
getJsonDirOrFile()
Gets the json dir or file.
|
String |
getQuartPropertiesFile()
Gets the quart properties file.
|
int |
getRunPeriod()
Gets the run period.
|
boolean |
isContinueOnJsonError() |
boolean |
isHelp() |
boolean |
isRunEndlessly() |
void |
setAdditionalJars(List<File> additionalJars) |
void |
setContinueOnJsonError(boolean continueOnJsonError)
If it is false, then JmxTrans will stop when one of the JSON
configuration file is invalid.
|
void |
setHelp(boolean help) |
void |
setJsonDirOrFile(File jsonDirOrFile)
Sets the json dir or file.
|
void |
setQuartPropertiesFile(String quartPropertiesFile)
Sets the quart properties file.
|
void |
setRunEndlessly(boolean runEndlessly)
If this is true, then this class will execute the main() loop and then
wait 60 seconds until running again.
|
void |
setRunPeriod(int runPeriod)
Sets the run period.
|
public void setContinueOnJsonError(boolean continueOnJsonError)
continueOnJsonError - public void setJsonDirOrFile(File jsonDirOrFile)
jsonDirOrFile - the json dir or filepublic void setRunEndlessly(boolean runEndlessly)
runEndlessly - public void setQuartPropertiesFile(String quartPropertiesFile)
quartPropertiesFile - the quart properties filepublic void setRunPeriod(int runPeriod)
runPeriod - the run periodpublic File getJsonDirOrFile()
public boolean isRunEndlessly()
public boolean isContinueOnJsonError()
public String getQuartPropertiesFile()
public int getRunPeriod()
public void setHelp(boolean help)
public boolean isHelp()
Copyright © 2015. All Rights Reserved.