Class ReportGenerator
- java.lang.Object
-
- io.jenkins.plugins.checkpoint.cloudguard.report.ReportGenerator
-
- Direct Known Subclasses:
SourceGuardReportGenerator
public abstract class ReportGenerator extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected com.google.gson.JsonObject
jsonObject
protected static String
REPORT_TITLE
protected ReportResults
reportResults
-
Constructor Summary
Constructors Constructor Description ReportGenerator(com.google.gson.JsonObject jsonObject)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract String
createHtmlFromScanResults()
void
generateHTMLReport(FilePath target)
static j2html.tags.ContainerTag
getButton(String severity)
ReportResults
getReportResults()
static String
getReportTitle()
abstract void
initalizeReportResults()
-
-
-
Field Detail
-
reportResults
protected ReportResults reportResults
-
jsonObject
protected final com.google.gson.JsonObject jsonObject
-
REPORT_TITLE
protected static final String REPORT_TITLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
initalizeReportResults
public abstract void initalizeReportResults()
-
getReportResults
public ReportResults getReportResults()
-
getReportTitle
public static String getReportTitle()
-
createHtmlFromScanResults
public abstract String createHtmlFromScanResults()
-
getButton
public static j2html.tags.ContainerTag getButton(String severity)
-
generateHTMLReport
public void generateHTMLReport(FilePath target) throws InterruptedException, IOException
- Throws:
InterruptedException
IOException
-
-