public enum DatabaseEnum extends Enum<DatabaseEnum>
Enum Constant and Description |
---|
MSSQL |
MYSQL |
ORACLE |
OTHER |
POSTGRESQL |
Modifier and Type | Method and Description |
---|---|
static String |
getDatabaseType(String product,
int majorVersion) |
String |
getType() |
static DatabaseEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatabaseEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatabaseEnum POSTGRESQL
public static final DatabaseEnum MYSQL
public static final DatabaseEnum ORACLE
public static final DatabaseEnum MSSQL
public static final DatabaseEnum OTHER
public static DatabaseEnum[] values()
for (DatabaseEnum c : DatabaseEnum.values()) System.out.println(c);
public static DatabaseEnum 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 getType()
Copyright © 2003–2021 Atlassian. All rights reserved.