Class ExtentSparkReporter
- java.lang.Object
-
- com.aventstack.extentreports.reporter.AbstractReporter
-
- com.aventstack.extentreports.reporter.AbstractFilterableReporter
-
- com.aventstack.extentreports.reporter.AbstractFileReporter
-
- com.aventstack.extentreports.reporter.ExtentSparkReporter
-
- All Implemented Interfaces:
ExtentObserver<ReportEntity>,ReportObserver<ReportEntity>,ViewsConfigurable<ExtentSparkReporter>,ExtentReporter,StatusFilterable,ReporterConfigurable,ReporterFilterable<ExtentSparkReporter>
public class ExtentSparkReporter extends AbstractFileReporter implements ReportObserver<ReportEntity>, ReporterConfigurable, ViewsConfigurable<ExtentSparkReporter>, ReporterFilterable<ExtentSparkReporter>
-
-
Field Summary
-
Fields inherited from class com.aventstack.extentreports.reporter.AbstractFileReporter
PATH_SEP
-
-
Constructor Summary
Constructors Constructor Description ExtentSparkReporter(File f)ExtentSparkReporter(String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtentSparkReporterConfigconfig()ExtentSparkReporterconfig(ExtentSparkReporterConfig conf)EntityFilters<ExtentSparkReporter>filter()io.reactivex.rxjava3.core.Observer<ReportEntity>getReportObserver()voidloadJSONConfig(File jsonFile)voidloadJSONConfig(String jsonString)voidloadXMLConfig(File xmlFile)voidloadXMLConfig(String xmlFile)ViewConfigurer<ExtentSparkReporter>viewConfigurer()-
Methods inherited from class com.aventstack.extentreports.reporter.AbstractFileReporter
createFreemarkerConfig, getFileNameAsExt, loadTemplateModel, processTemplate
-
Methods inherited from class com.aventstack.extentreports.reporter.AbstractFilterableReporter
filterAndGet
-
-
-
-
Method Detail
-
filter
public EntityFilters<ExtentSparkReporter> filter()
- Specified by:
filterin interfaceReporterFilterable<ExtentSparkReporter>
-
viewConfigurer
public ViewConfigurer<ExtentSparkReporter> viewConfigurer()
- Specified by:
viewConfigurerin interfaceViewsConfigurable<ExtentSparkReporter>
-
config
public ExtentSparkReporterConfig config()
-
config
public ExtentSparkReporter config(ExtentSparkReporterConfig conf)
-
loadJSONConfig
public void loadJSONConfig(File jsonFile) throws IOException
- Specified by:
loadJSONConfigin interfaceReporterConfigurable- Throws:
IOException
-
loadJSONConfig
public void loadJSONConfig(String jsonString) throws IOException
- Specified by:
loadJSONConfigin interfaceReporterConfigurable- Throws:
IOException
-
loadXMLConfig
public void loadXMLConfig(File xmlFile) throws IOException
- Specified by:
loadXMLConfigin interfaceReporterConfigurable- Throws:
IOException
-
loadXMLConfig
public void loadXMLConfig(String xmlFile) throws IOException
- Specified by:
loadXMLConfigin interfaceReporterConfigurable- Throws:
IOException
-
getReportObserver
public io.reactivex.rxjava3.core.Observer<ReportEntity> getReportObserver()
- Specified by:
getReportObserverin interfaceReportObserver<ReportEntity>
-
-