public enum PersistenceInstanceType extends Enum<PersistenceInstanceType>
Supported persistence instance types.
Modifier and Type | Method and Description |
---|---|
static PersistenceInstanceType |
fromString(String s)
Get the enum constant of this type with the specified name, case insensitive.
|
static PersistenceInstanceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PersistenceInstanceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersistenceInstanceType JDBC
public static final PersistenceInstanceType CASSANDRA
public static PersistenceInstanceType[] values()
for (PersistenceInstanceType c : PersistenceInstanceType.values()) System.out.println(c);
public static PersistenceInstanceType 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 PersistenceInstanceType fromString(String s)
Get the enum constant of this type with the specified name, case insensitive.
s
- the name.IllegalArgumentException
- if there is no enum with the specified name.