public class Jdbc extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected String |
driver |
protected String |
password |
protected List<Property> |
properties |
protected String |
schema |
protected String |
url |
protected String |
user |
protected String |
username |
| Constructor and Description |
|---|
Jdbc() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
String |
getDriver()
The JDBC driver class.
|
String |
getPassword()
The JDBC connection password.
|
List<Property> |
getProperties() |
String |
getSchema()
Deprecated.
Use database schema configuration elements instead.
|
String |
getUrl()
The JDBC connection URL.
|
String |
getUser()
The JDBC connection user.
|
String |
getUsername()
Just a synonym for "user" to be compatible with other Maven plugins.
|
int |
hashCode() |
void |
setDriver(String value)
Sets the value of the driver property.
|
void |
setPassword(String value)
Sets the value of the password property.
|
void |
setProperties(List<Property> properties) |
void |
setSchema(String value)
Sets the value of the schema property.
|
void |
setUrl(String value)
Sets the value of the url property.
|
void |
setUser(String value)
Sets the value of the user property.
|
void |
setUsername(String value)
Sets the value of the username property.
|
String |
toString() |
Jdbc |
withDriver(String value) |
Jdbc |
withPassword(String value) |
Jdbc |
withProperties(Collection<Property> values) |
Jdbc |
withProperties(List<Property> properties) |
Jdbc |
withProperties(Property... values) |
Jdbc |
withSchema(String value) |
Jdbc |
withUrl(String value) |
Jdbc |
withUser(String value) |
Jdbc |
withUsername(String value) |
protected String driver
protected String url
protected String schema
protected String user
protected String username
protected String password
public void setDriver(String value)
value - allowed object is
Stringpublic void setUrl(String value)
value - allowed object is
Stringpublic String getSchema()
Stringpublic void setSchema(String value)
value - allowed object is
Stringpublic String getUser()
Stringpublic void setUser(String value)
value - allowed object is
Stringpublic String getUsername()
Stringpublic void setUsername(String value)
value - allowed object is
Stringpublic String getPassword()
Stringpublic void setPassword(String value)
value - allowed object is
Stringpublic Jdbc withProperties(Collection<Property> values)
Copyright © 2019. All rights reserved.