public enum HorusMySQLDriveConnection extends java.lang.Enum<HorusMySQLDriveConnection>
| Enum Constant and Description |
|---|
getInstance |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.sql.Connection |
getConnection(HorusConnectionParameters stringConnection) |
HorusConnectionParameters |
getStringConnection() |
static void |
setStringConnection(HorusConnectionParameters stringConnection) |
static HorusMySQLDriveConnection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HorusMySQLDriveConnection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HorusMySQLDriveConnection getInstance
public static HorusMySQLDriveConnection[] values()
for (HorusMySQLDriveConnection c : HorusMySQLDriveConnection.values()) System.out.println(c);
public static HorusMySQLDriveConnection 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 java.sql.Connection getConnection(HorusConnectionParameters stringConnection)
public void close()
throws java.sql.SQLException
java.sql.SQLExceptionpublic HorusConnectionParameters getStringConnection()
public static final void setStringConnection(HorusConnectionParameters stringConnection)