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.JsonObjectjsonObjectprotected static StringREPORT_TITLEprotected ReportResultsreportResults
-
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 StringcreateHtmlFromScanResults()voidgenerateHTMLReport(FilePath target)static j2html.tags.ContainerTaggetButton(String severity)ReportResultsgetReportResults()static StringgetReportTitle()abstract voidinitalizeReportResults()
-
-
-
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:
InterruptedExceptionIOException
-
-