public enum SupportedCaches extends java.lang.Enum<SupportedCaches> implements java.io.Externalizable, TranscribableEnum
| Enum Constant and Description |
|---|
SimpleCache1
SimpleCache1 Enum
|
SimpleCache2 |
UNRECOGNIZED_VALUE |
| Modifier and Type | Field and Description |
|---|---|
static ServiceVersion |
SERVICE_VERSION |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCode() |
static SupportedCaches |
getInstance(java.io.ObjectInput in) |
ServiceVersion |
getServiceVersion() |
void |
readExternal(java.io.ObjectInput in) |
static java.util.Set<SupportedCaches> |
validValues() |
static SupportedCaches |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SupportedCaches[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeExternal(java.io.ObjectOutput out) |
public static final SupportedCaches SimpleCache1
public static final SupportedCaches SimpleCache2
public static final SupportedCaches UNRECOGNIZED_VALUE
public static final ServiceVersion SERVICE_VERSION
public static SupportedCaches[] values()
for (SupportedCaches c : SupportedCaches.values()) System.out.println(c);
public static SupportedCaches valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic static java.util.Set<SupportedCaches> validValues()
public java.lang.String getCode()
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic static SupportedCaches getInstance(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic ServiceVersion getServiceVersion()
getServiceVersion in interface TranscribableEnumCopyright © 2009-2014 Betfair. All Rights Reserved.