public static enum DatabaseType.Database extends Enum<DatabaseType.Database>
| Enum Constant and Description |
|---|
DB2 |
MYSQL |
POSTGRES |
SQL_SERVER |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static DatabaseType.Database |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatabaseType.Database[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatabaseType.Database MYSQL
public static final DatabaseType.Database POSTGRES
public static final DatabaseType.Database SQL_SERVER
public static final DatabaseType.Database DB2
public static DatabaseType.Database[] values()
for (DatabaseType.Database c : DatabaseType.Database.values()) System.out.println(c);
public static DatabaseType.Database 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.Database>Copyright © 2020. All rights reserved.