public enum CachingTypes extends Enum<CachingTypes>
Enum Constant and Description |
---|
NONE
Enum value None.
|
READ_ONLY
Enum value ReadOnly.
|
READ_WRITE
Enum value ReadWrite.
|
Modifier and Type | Method and Description |
---|---|
static CachingTypes |
fromString(String value)
Parses a serialized value to a CachingTypes instance.
|
String |
toString() |
static CachingTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CachingTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CachingTypes NONE
public static final CachingTypes READ_ONLY
public static final CachingTypes READ_WRITE
public static CachingTypes[] values()
for (CachingTypes c : CachingTypes.values()) System.out.println(c);
public static CachingTypes 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 CachingTypes fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<CachingTypes>
Copyright © 2019. All rights reserved.