public enum ReportsFormat extends java.lang.Enum<ReportsFormat> implements EnumConverter<ReportsFormat>
Modifier and Type | Method and Description |
---|---|
static ReportsFormat |
from(java.lang.String value) |
java.lang.String |
to(ReportsFormat v) |
static ReportsFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReportsFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReportsFormat XLSX
public static final ReportsFormat CSV
public static final ReportsFormat JSON
public static ReportsFormat[] values()
for (ReportsFormat c : ReportsFormat.values()) System.out.println(c);
public static ReportsFormat 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 static ReportsFormat from(java.lang.String value)
public java.lang.String to(ReportsFormat v)
to
in interface EnumConverter<ReportsFormat>