public enum EnumClusterCatalog extends Enum<EnumClusterCatalog>
| Modifier and Type | Field and Description |
|---|---|
private static Map<String,EnumClusterCatalog> |
map |
private String |
value |
| Modifier and Type | Method and Description |
|---|---|
static EnumClusterCatalog |
getEnum(String value) |
String |
getValue() |
static EnumClusterCatalog |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumClusterCatalog[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumClusterCatalog MYSQL
public static final EnumClusterCatalog REDIS
private static final Map<String,EnumClusterCatalog> map
private String value
public static EnumClusterCatalog[] values()
for (EnumClusterCatalog c : EnumClusterCatalog.values()) System.out.println(c);
public static EnumClusterCatalog 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 getValue()
public static EnumClusterCatalog getEnum(String value)
Copyright © 2015. All rights reserved.