static enum Main.OutputFormat extends java.lang.Enum<Main.OutputFormat>
| Enum Constant and Description |
|---|
PLAIN
Plain output format.
|
SARIF
SARIF output format.
|
XML
XML output format.
|
| Modifier and Type | Method and Description |
|---|---|
AuditListener |
createListener(java.io.OutputStream out,
AutomaticBean.OutputStreamOptions options)
Returns a new AuditListener for this OutputFormat.
|
java.lang.String |
toString()
Returns the name in lowercase.
|
static Main.OutputFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Main.OutputFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Main.OutputFormat XML
public static final Main.OutputFormat SARIF
public static final Main.OutputFormat PLAIN
public static Main.OutputFormat[] values()
for (Main.OutputFormat c : Main.OutputFormat.values()) System.out.println(c);
public static Main.OutputFormat valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic AuditListener createListener(java.io.OutputStream out, AutomaticBean.OutputStreamOptions options) throws java.io.IOException
out - the output streamoptions - the output stream optionsjava.io.IOException - if there is any IO exception during logger initializationpublic java.lang.String toString()
toString in class java.lang.Enum<Main.OutputFormat>Copyright © 2001-2022. All Rights Reserved.