public static enum DatastoreAttributes.DatastoreType extends java.lang.Enum<DatastoreAttributes.DatastoreType>
Enum Constant and Description |
---|
HIGH_REPLICATION |
MASTER_SLAVE |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static DatastoreAttributes.DatastoreType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DatastoreAttributes.DatastoreType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatastoreAttributes.DatastoreType UNKNOWN
public static final DatastoreAttributes.DatastoreType MASTER_SLAVE
public static final DatastoreAttributes.DatastoreType HIGH_REPLICATION
public static DatastoreAttributes.DatastoreType[] values()
for (DatastoreAttributes.DatastoreType c : DatastoreAttributes.DatastoreType.values()) System.out.println(c);
public static DatastoreAttributes.DatastoreType 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 null