public enum ReportMapType extends Enum<ReportMapType>
| Modifier and Type | Method and Description |
|---|---|
static ReportMapType |
parse(String mapType)
Parse the given string representation of the type into an instance.
|
String |
toString()
Return the name of the report type.
|
static ReportMapType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReportMapType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReportMapType REDIS
public static final ReportMapType MYSQL
public static final ReportMapType HASH
public static ReportMapType[] values()
for (ReportMapType c : ReportMapType.values()) System.out.println(c);
public static ReportMapType 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 String toString()
toString in class Enum<ReportMapType>public static ReportMapType parse(String mapType)
mapType - the type of report map as a string valueReportMapType instance.Copyright © 2018 The International Consortium of Investigative Journalists. All rights reserved.