public enum ReportType extends Enum<ReportType>
| Enum Constant and Description |
|---|
REPORT_CATEGORY |
REPORT_CONTENT |
REPORT_OBJECT |
| Modifier and Type | Method and Description |
|---|---|
static ReportType |
fromString(String value)
Returns the ReportType.
|
String |
getStringValue() |
static ReportType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReportType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReportType REPORT_CONTENT
public static final ReportType REPORT_CATEGORY
public static final ReportType REPORT_OBJECT
public static ReportType[] values()
for (ReportType c : ReportType.values()) System.out.println(c);
public static ReportType 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 static ReportType fromString(String value)
value - the value is string typepublic String getStringValue()
Copyright © 2022. All rights reserved.