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