public abstract class BaseReportingTask extends Object implements ReportingTask
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOGGER |
| Constructor and Description |
|---|
BaseReportingTask(FreemarkerContext freemarker,
EnvironmentVariables environmentVariables,
File outputDirectory) |
| Modifier and Type | Method and Description |
|---|---|
protected Optional<String> |
generateCSVReportFor(TestOutcomes testOutcomes,
String reportName) |
protected void |
generateReportPage(Map<String,Object> context,
String template,
String outputFile) |
abstract void |
generateReports() |
protected Merger |
mergeTemplate(String templateFile) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreportNamepublic BaseReportingTask(FreemarkerContext freemarker, EnvironmentVariables environmentVariables, File outputDirectory)
public abstract void generateReports()
throws IOException
generateReports in interface ReportingTaskIOExceptionprotected void generateReportPage(Map<String,Object> context, String template, String outputFile) throws IOException
IOExceptionprotected Optional<String> generateCSVReportFor(TestOutcomes testOutcomes, String reportName) throws IOException
IOExceptionCopyright © 2023. All rights reserved.