Package org.killbill.commons.embeddeddb
Enum EmbeddedDB.DBEngine
- java.lang.Object
-
- java.lang.Enum<EmbeddedDB.DBEngine>
-
- org.killbill.commons.embeddeddb.EmbeddedDB.DBEngine
-
- All Implemented Interfaces:
Serializable,Comparable<EmbeddedDB.DBEngine>
- Enclosing class:
- EmbeddedDB
public static enum EmbeddedDB.DBEngine extends Enum<EmbeddedDB.DBEngine>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GENERICH2MYSQLPOSTGRESQL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EmbeddedDB.DBEnginevalueOf(String name)Returns the enum constant of this type with the specified name.static EmbeddedDB.DBEngine[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GENERIC
public static final EmbeddedDB.DBEngine GENERIC
-
MYSQL
public static final EmbeddedDB.DBEngine MYSQL
-
H2
public static final EmbeddedDB.DBEngine H2
-
POSTGRESQL
public static final EmbeddedDB.DBEngine POSTGRESQL
-
-
Method Detail
-
values
public static EmbeddedDB.DBEngine[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EmbeddedDB.DBEngine c : EmbeddedDB.DBEngine.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EmbeddedDB.DBEngine valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-