public class ReportGeneratorConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
static String |
EXPORTER_KEY_FILTERS_ONLY_SAMPLE_SERIES |
static Boolean |
EXPORTER_KEY_FILTERS_ONLY_SAMPLE_SERIES_DEFAULT |
static String |
EXPORTER_KEY_GRAPH_EXTRA_OPTIONS |
static String |
EXPORTER_KEY_SERIES_FILTER |
static String |
EXPORTER_KEY_SERIES_FILTER_DEFAULT |
static String |
EXPORTER_KEY_SHOW_CONTROLLERS_ONLY |
static Boolean |
EXPORTER_KEY_SHOW_CONTROLLERS_ONLY_DEFAULT |
static String |
GRAPH_KEY_EXCLUDE_CONTROLLERS |
static Boolean |
GRAPH_KEY_EXCLUDE_CONTROLLERS_DEFAULT |
static String |
GRAPH_KEY_TITLE |
static String |
GRAPH_KEY_TITLE_DEFAULT |
static char |
KEY_DELIMITER |
static String |
REPORT_GENERATOR_EXPORTER_KEY_PREFIX |
static String |
REPORT_GENERATOR_GRAPH_KEY_PREFIX |
static String |
REPORT_GENERATOR_KEY_PREFIX |
static String |
REPORT_GENERATOR_KEY_RANGE_DATE_FORMAT |
static String |
SUBCONF_KEY_CLASSNAME |
static String |
SUBCONF_KEY_PROPERTY |
Constructor and Description |
---|
ReportGeneratorConfiguration() |
Modifier and Type | Method and Description |
---|---|
long |
getApdexSatisfiedThreshold()
Gets the apdex satisfied threshold.
|
long |
getApdexToleratedThreshold()
Gets the apdex tolerated threshold.
|
Date |
getEndDate() |
Map<String,ExporterConfiguration> |
getExportConfigurations()
Gets the export configurations.
|
static String |
getExporterPropertyKey(String exporterId,
String propertyName)
Gets the exporter property key from the specified identifier and property
name.
|
Pattern |
getFilteredSamplesPattern() |
Map<String,GraphConfiguration> |
getGraphConfigurations()
Gets the graph configurations.
|
static String |
getGraphPropertyKey(String graphId,
String propertyName)
Gets the graph property key from the specified identifier and property
name.
|
String |
getReportTitle() |
String |
getSampleFilter()
Gets the overall sample filter.
|
Date |
getStartDate() |
static String |
getSubConfigurationPropertyKey(String keyPrefix,
String subConfId,
String propertyName)
Gets the sub configuration property key from the specified key
prefix, sub configuration identifier and property name.
|
static String |
getSubConfigurationPropertyPrefix(String keyPrefix,
String subConfId)
Gets the sub configuration property prefix from the specified key
prefix and sub configuration identifier.
|
File |
getTempDirectory()
Gets the temporary directory.
|
boolean |
isIgnoreTCFromTop5ErrorsBySampler() |
static ReportGeneratorConfiguration |
loadFromProperties(Properties properties)
Load a configuration from the specified properties.
|
void |
setApdexSatisfiedThreshold(long apdexSatisfiedThreshold)
Sets the apdex satisfied threshold.
|
void |
setApdexToleratedThreshold(long apdexToleratedThreshold)
Sets the apdex tolerated threshold.
|
void |
setEndDate(Date endDate) |
void |
setIgnoreTCFromTop5ErrorsBySampler(boolean ignoreTCFromTop5ErrorsBySampler) |
void |
setReportTitle(String reportTitle) |
void |
setSampleFilter(String sampleFilter)
Sets the overall sample filter.
|
void |
setStartDate(Date startDate) |
void |
setTempDirectory(File tempDirectory)
Sets the temporary directory.
|
public static final char KEY_DELIMITER
public static final String REPORT_GENERATOR_KEY_PREFIX
public static final String REPORT_GENERATOR_KEY_RANGE_DATE_FORMAT
public static final String REPORT_GENERATOR_GRAPH_KEY_PREFIX
public static final String REPORT_GENERATOR_EXPORTER_KEY_PREFIX
public static final String GRAPH_KEY_EXCLUDE_CONTROLLERS
public static final Boolean GRAPH_KEY_EXCLUDE_CONTROLLERS_DEFAULT
public static final String GRAPH_KEY_TITLE
public static final String GRAPH_KEY_TITLE_DEFAULT
public static final String EXPORTER_KEY_FILTERS_ONLY_SAMPLE_SERIES
public static final Boolean EXPORTER_KEY_FILTERS_ONLY_SAMPLE_SERIES_DEFAULT
public static final String EXPORTER_KEY_SERIES_FILTER
public static final String EXPORTER_KEY_SERIES_FILTER_DEFAULT
public static final String EXPORTER_KEY_SHOW_CONTROLLERS_ONLY
public static final Boolean EXPORTER_KEY_SHOW_CONTROLLERS_ONLY_DEFAULT
public static final String EXPORTER_KEY_GRAPH_EXTRA_OPTIONS
public static final String SUBCONF_KEY_CLASSNAME
public static final String SUBCONF_KEY_PROPERTY
public final String getSampleFilter()
public final void setSampleFilter(String sampleFilter)
sampleFilter
- the new overall sample filterpublic final File getTempDirectory()
public final void setTempDirectory(File tempDirectory)
tempDirectory
- the temporary directory to setpublic final long getApdexSatisfiedThreshold()
public final void setApdexSatisfiedThreshold(long apdexSatisfiedThreshold)
apdexSatisfiedThreshold
- the apdex satisfied threshold to setpublic final long getApdexToleratedThreshold()
public final void setApdexToleratedThreshold(long apdexToleratedThreshold)
apdexToleratedThreshold
- the apdex tolerated threshold to setpublic final Map<String,ExporterConfiguration> getExportConfigurations()
public final Map<String,GraphConfiguration> getGraphConfigurations()
public static String getSubConfigurationPropertyPrefix(String keyPrefix, String subConfId)
keyPrefix
- the key prefixsubConfId
- the sub configuration identifierpublic static String getSubConfigurationPropertyKey(String keyPrefix, String subConfId, String propertyName)
keyPrefix
- the key prefixsubConfId
- the sub configuration identifierpropertyName
- the property namepublic static String getExporterPropertyKey(String exporterId, String propertyName)
exporterId
- the exporter identifierpropertyName
- the property namepublic static String getGraphPropertyKey(String graphId, String propertyName)
graphId
- the graph identifierpropertyName
- the property namepublic static ReportGeneratorConfiguration loadFromProperties(Properties properties) throws ConfigurationException
properties
- the propertiesConfigurationException
- when mandatory properties are missingpublic String getReportTitle()
public void setReportTitle(String reportTitle)
reportTitle
- the reportTitle to setpublic Pattern getFilteredSamplesPattern()
public Date getStartDate()
public void setStartDate(Date startDate)
startDate
- the start date to use to generate the reportpublic Date getEndDate()
public void setEndDate(Date endDate)
endDate
- the end date to use to generate the reportpublic boolean isIgnoreTCFromTop5ErrorsBySampler()
public void setIgnoreTCFromTop5ErrorsBySampler(boolean ignoreTCFromTop5ErrorsBySampler)
ignoreTCFromTop5ErrorsBySampler
- the ignoreTCFromTop5ErrorsBySampler to setCopyright © 1998-2016 Apache Software Foundation. All Rights Reserved.