org.inria.myriads.snoozenode.database.enums
public enum DatabaseType extends Enum<DatabaseType>
Enum Constant and Description |
---|
cassandra
Cassandra.
|
memory
In-memory.
|
Modifier and Type | Method and Description |
---|---|
static DatabaseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatabaseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatabaseType memory
public static final DatabaseType cassandra
public static DatabaseType[] values()
for (DatabaseType c : DatabaseType.values()) System.out.println(c);
public static DatabaseType 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 nullCopyright © 2013. All Rights Reserved.