public abstract class AbstractRemoteDatabase extends Database
| Modifier and Type | Field and Description |
|---|---|
String |
database |
String |
hostname
Host name + optional port (in the "host[:port]" format)
|
hudson.util.Secret |
password |
String |
properties |
String |
username |
| Constructor and Description |
|---|
AbstractRemoteDatabase(String hostname,
String database,
String username,
hudson.util.Secret password,
String properties) |
| Modifier and Type | Method and Description |
|---|---|
DataSource |
getDataSource() |
protected abstract Class<? extends Driver> |
getDriverClass() |
protected abstract String |
getJdbcUrl() |
getDescriptorpublic final String hostname
public final String database
public final String username
public final hudson.util.Secret password
public final String properties
protected abstract String getJdbcUrl()
public DataSource getDataSource() throws SQLException
getDataSource in class DatabaseSQLExceptionCopyright © 2004-2013. All Rights Reserved.