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