Package com.invirgance.convirgance.jdbc
Class StoredConnections.DriverConfigBuilder
java.lang.Object
com.invirgance.convirgance.jdbc.StoredConnections.DriverConfigBuilder
- Enclosing class:
StoredConnections
Builds a DriverConfig for a StoredConnectionBuilder.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the StoredConnection with the DriverConfig.done()
Returns the StoredConnectionBuilder for further building.Sets the password for the DriverConfig used by the StoredConnection.Sets the database URL the DriverConfig will use for the StoredConnection.Sets the username to use for the DriverConfig of the StoredConnection.
-
Method Details
-
build
Builds the StoredConnection with the DriverConfig.- Returns:
- The StoredConnection.
-
done
Returns the StoredConnectionBuilder for further building. The connection is not built with this, allowing for further configuration such as building a DataSourceConfig.- Returns:
- The builder.
-
password
Sets the password for the DriverConfig used by the StoredConnection.- Parameters:
password
- The password.- Returns:
- This builder.
-
username
Sets the username to use for the DriverConfig of the StoredConnection.- Parameters:
username
- The username.- Returns:
- This builder.
-
url
Sets the database URL the DriverConfig will use for the StoredConnection.- Parameters:
url
- The database URL.- Returns:
- This builder.
-