public enum DatabaseType extends java.lang.Enum<DatabaseType>
Enum Constant and Description |
---|
MariaDB |
MongoDB |
MySQL |
PostgreSQL |
SQLite |
Modifier and Type | Method and Description |
---|---|
static DatabaseType |
valueOf(java.lang.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 MongoDB
public static final DatabaseType MySQL
public static final DatabaseType MariaDB
public static final DatabaseType PostgreSQL
public static final DatabaseType SQLite
public static DatabaseType[] values()
for (DatabaseType c : DatabaseType.values()) System.out.println(c);
public static DatabaseType 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