public class HtmlReportBuilder extends Object
TabularResultSet
and renders it as a Html Table.Modifier and Type | Field and Description |
---|---|
protected String |
csvSourceFileName |
protected boolean |
isCreateImageLinks |
protected String |
jsonSourceFileName |
protected String |
reportName |
protected String |
resultsBaseFolder |
protected TabularResultSet |
resultSet |
Constructor and Description |
---|
HtmlReportBuilder(TabularResultSet resultSet) |
Modifier and Type | Method and Description |
---|---|
HtmlReportBuilder |
createImageLinks(boolean shouldCreateImageLinks) |
HtmlReportBuilder |
csvSource(String csvReportFilename) |
String |
execute() |
HtmlReportBuilder |
jsonSource(String jsonSourceFileName) |
HtmlReportBuilder |
name(String reportName) |
HtmlReportBuilder |
resultDetailsFolder(String resultsBaseFolder) |
protected void |
writeResultTable(HtmlDocumentBuilder bodyBuilder) |
protected TabularResultSet resultSet
protected String resultsBaseFolder
protected String jsonSourceFileName
protected String csvSourceFileName
protected String reportName
protected boolean isCreateImageLinks
public HtmlReportBuilder(TabularResultSet resultSet)
public HtmlReportBuilder resultDetailsFolder(String resultsBaseFolder)
public HtmlReportBuilder jsonSource(String jsonSourceFileName)
public HtmlReportBuilder name(String reportName)
public HtmlReportBuilder createImageLinks(boolean shouldCreateImageLinks)
public HtmlReportBuilder csvSource(String csvReportFilename)
public String execute()
protected void writeResultTable(HtmlDocumentBuilder bodyBuilder)
Copyright © 2017. All rights reserved.