public enum ReportFormat extends Enum<ReportFormat>
Modifier and Type | Method and Description |
---|---|
boolean |
is(String optionGiven) |
static ReportFormat |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean is(String optionGiven)
Copyright © 2006–2024 Apache Software Foundation. All rights reserved.