Enum ReportGenerator.Format
- java.lang.Object
-
- java.lang.Enum<ReportGenerator.Format>
-
- org.owasp.dependencycheck.reporting.ReportGenerator.Format
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ReportGenerator.Format>
- Enclosing class:
- ReportGenerator
public static enum ReportGenerator.Format extends java.lang.Enum<ReportGenerator.Format>
An enumeration of the report formats.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLGenerate all reports.CSVGenerate CSV report.GITLABGenerate Report in GitLab dependency check format.HTMLGenerate HTML report.JENKINSGenerate HTML report without script or non-vulnerable libraries for Jenkins.JSONGenerate JSON report.JUNITGenerate JUNIT report.SARIFGenerate Sarif report.XMLGenerate XML report.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ReportGenerator.FormatvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ReportGenerator.Format[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final ReportGenerator.Format ALL
Generate all reports.
-
XML
public static final ReportGenerator.Format XML
Generate XML report.
-
HTML
public static final ReportGenerator.Format HTML
Generate HTML report.
-
JSON
public static final ReportGenerator.Format JSON
Generate JSON report.
-
CSV
public static final ReportGenerator.Format CSV
Generate CSV report.
-
SARIF
public static final ReportGenerator.Format SARIF
Generate Sarif report.
-
JENKINS
public static final ReportGenerator.Format JENKINS
Generate HTML report without script or non-vulnerable libraries for Jenkins.
-
JUNIT
public static final ReportGenerator.Format JUNIT
Generate JUNIT report.
-
GITLAB
public static final ReportGenerator.Format GITLAB
Generate Report in GitLab dependency check format.
-
-
Method Detail
-
values
public static ReportGenerator.Format[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ReportGenerator.Format c : ReportGenerator.Format.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReportGenerator.Format valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-