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