Package crypto.reporting
Enum Reporter.ReportFormat
- java.lang.Object
-
- java.lang.Enum<Reporter.ReportFormat>
-
- crypto.reporting.Reporter.ReportFormat
-
- All Implemented Interfaces:
Serializable,Comparable<Reporter.ReportFormat>
- Enclosing class:
- Reporter
public static enum Reporter.ReportFormat extends Enum<Reporter.ReportFormat>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CMDCSVCSV_SUMMARYGITHUB_ANNOTATIONSARIFTXT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Reporter.ReportFormatvalueOf(String name)Returns the enum constant of this type with the specified name.static Reporter.ReportFormat[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CMD
public static final Reporter.ReportFormat CMD
-
TXT
public static final Reporter.ReportFormat TXT
-
SARIF
public static final Reporter.ReportFormat SARIF
-
CSV
public static final Reporter.ReportFormat CSV
-
CSV_SUMMARY
public static final Reporter.ReportFormat CSV_SUMMARY
-
GITHUB_ANNOTATION
public static final Reporter.ReportFormat GITHUB_ANNOTATION
-
-
Method Detail
-
values
public static Reporter.ReportFormat[] 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 (Reporter.ReportFormat c : Reporter.ReportFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Reporter.ReportFormat valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-