public enum ReportFormat extends java.lang.Enum<ReportFormat>
| Modifier and Type | Method and Description |
|---|---|
boolean |
is(java.lang.String optionGiven) |
static ReportFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReportFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReportFormat PLAIN
public static final ReportFormat XML
public static ReportFormat[] values()
for (ReportFormat c : ReportFormat.values()) System.out.println(c);
public static ReportFormat 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 boolean is(java.lang.String optionGiven)