public enum DatabaseType extends Enum<DatabaseType>
Enum Constant and Description |
---|
H2 |
HSQL |
MY_SQL |
ORACLE |
POSTGRES |
SQL_SERVER |
UKNOWN |
Modifier and Type | Method and Description |
---|---|
static Iterable<DatabaseType> |
allTypes() |
static DatabaseType |
forDatabaseTypeName(String typeName) |
static DatabaseType |
forJdbcDriverClassName(String jdbcDriverClass) |
String |
getDisplayName() |
String |
getInstanceFieldName() |
String |
getJdbcDriverClassName() |
JdbcUrlParser |
getJdbcUrlParser() |
String |
getTypeName() |
static Iterable<DatabaseType> |
knownTypes() |
String |
toString() |
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 H2
public static final DatabaseType HSQL
public static final DatabaseType SQL_SERVER
public static final DatabaseType MY_SQL
public static final DatabaseType ORACLE
public static final DatabaseType POSTGRES
public static final DatabaseType UKNOWN
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 nullpublic String toString()
toString
in class Enum<DatabaseType>
public String getDisplayName()
public String getTypeName()
public String getJdbcDriverClassName()
public static Iterable<DatabaseType> knownTypes()
public static Iterable<DatabaseType> allTypes()
public static DatabaseType forJdbcDriverClassName(String jdbcDriverClass)
public static DatabaseType forDatabaseTypeName(String typeName)
public JdbcUrlParser getJdbcUrlParser()
public String getInstanceFieldName()
Copyright © 2002-2015 Atlassian. All Rights Reserved.