public enum ServiceCacheMethod extends Enum<ServiceCacheMethod>
Enum Constant and Description |
---|
LocalMemory |
None |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
static String[] |
getDescriptions() |
static ServiceCacheMethod |
getMethodByDescription(String description) |
static ServiceCacheMethod |
getMethodByName(String string) |
static ServiceCacheMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceCacheMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceCacheMethod None
public static final ServiceCacheMethod LocalMemory
public static ServiceCacheMethod[] values()
for (ServiceCacheMethod c : ServiceCacheMethod.values()) System.out.println(c);
public static ServiceCacheMethod 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 getDescription()
public static ServiceCacheMethod getMethodByName(String string)
public static ServiceCacheMethod getMethodByDescription(String description)
public static String[] getDescriptions()