public enum DatabaseVendor extends Enum<DatabaseVendor>
Enum Constant and Description |
---|
H2 |
MY_SQL |
ORACLE |
POSTGRES |
SQL_SERVER |
Modifier and Type | Method and Description |
---|---|
String |
getHumanReadableName() |
static DatabaseVendor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatabaseVendor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatabaseVendor POSTGRES
public static final DatabaseVendor ORACLE
public static final DatabaseVendor SQL_SERVER
public static final DatabaseVendor H2
public static final DatabaseVendor MY_SQL
public static DatabaseVendor[] values()
for (DatabaseVendor c : DatabaseVendor.values()) System.out.println(c);
public static DatabaseVendor 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 getHumanReadableName()
Copyright © 2002-2018 Atlassian. All Rights Reserved.