public class GenericDatabase extends Database
Database implementation that allows the user to specify arbitrary JDBC connection string.| Modifier and Type | Class and Description |
|---|---|
static class |
GenericDatabase.DescriptorImpl |
ExtensionPoint.LegacyInstancesAreScopedToHudson| Modifier and Type | Field and Description |
|---|---|
String |
driver |
Secret |
password |
String |
url |
String |
username |
| Constructor and Description |
|---|
GenericDatabase(String url,
String driver,
String username,
Secret password) |
| Modifier and Type | Method and Description |
|---|---|
DataSource |
getDataSource() |
GenericDatabase.DescriptorImpl |
getDescriptor() |
public final String driver
public final String username
public final Secret password
public final String url
public DataSource getDataSource() throws SQLException
getDataSource in class DatabaseSQLExceptionpublic GenericDatabase.DescriptorImpl getDescriptor()
getDescriptor in interface Describable<Database>getDescriptor in class DatabaseCopyright © 2016–2020. All rights reserved.