public enum CustomDatabaseDriver extends java.lang.Enum<CustomDatabaseDriver>
DatabaseDriver| Enum Constant | Description |
|---|---|
MYSQL_REPLICATION |
MySQL replication
|
UNKNOWN |
Unknown
|
| Modifier and Type | Method | Description |
|---|---|---|
static CustomDatabaseDriver |
fromJdbcUrl(java.lang.String url) |
DatabaseDriver.fromJdbcUrl(String) |
static CustomDatabaseDriver |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static CustomDatabaseDriver[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomDatabaseDriver UNKNOWN
public static final CustomDatabaseDriver MYSQL_REPLICATION
public static CustomDatabaseDriver[] values()
for (CustomDatabaseDriver c : CustomDatabaseDriver.values()) System.out.println(c);
public static CustomDatabaseDriver valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static CustomDatabaseDriver fromJdbcUrl(java.lang.String url)
DatabaseDriver.fromJdbcUrl(String)url - JDBC URLnullCopyright © 2017–2018 SPT. All rights reserved.