Class AbstractDataExporter
java.lang.Object
org.apache.jmeter.report.dashboard.AbstractDataExporter
- All Implemented Interfaces:
- DataExporter
- Direct Known Subclasses:
- HtmlTemplateExporter,- JsonExporter
The Class AbstractDataExporter provides a base class for DataExporter.
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedInstantiates a new abstract data exporter.
- 
Method SummaryModifier and TypeMethodDescriptionprotected static ResultDatafindData(String data, ResultData root) Finds a inner ResultData matching the specified data name in a ResultData tree.protected static <T> TfindValue(Class<T> clazz, String data, ResultData root) Finds a value matching the specified data name in a ResultData tree.getName()Gets the name of the exporter.protected <T> TgetPropertyFromConfig(SubConfiguration cfg, String property, T defaultValue, Class<T> clazz) voidSets the name of the exporter.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.jmeter.report.dashboard.DataExporterexport
- 
Constructor Details- 
AbstractDataExporterprotected AbstractDataExporter()Instantiates a new abstract data exporter.
 
- 
- 
Method Details- 
findValueFinds a value matching the specified data name in a ResultData tree. Supports only MapResultData walking.- Type Parameters:
- T- type of value to be found
- Parameters:
- clazz- the type of the value
- data- the name of the data containing the value
- root- the root of the tree
- Returns:
- the value matching the data name
 
- 
findDataFinds a inner ResultData matching the specified data name in a ResultData tree. Supports only MapResultData walking.- Parameters:
- data- the name of the data containing the value
- root- the root of the tree
- Returns:
- the ResultData matching the data name
 
- 
getNameDescription copied from interface:DataExporterGets the name of the exporter.- Specified by:
- getNamein interface- DataExporter
- Returns:
- the name of the exporter
 
- 
setNameDescription copied from interface:DataExporterSets the name of the exporter.- Specified by:
- setNamein interface- DataExporter
- Parameters:
- name- the new name of the exporter
 
- 
getPropertyFromConfigprotected <T> T getPropertyFromConfig(SubConfiguration cfg, String property, T defaultValue, Class<T> clazz) throws ExportException - Throws:
- ExportException
 
 
-