Class AbstractPostgreSqlJUnit.Configuration
java.lang.Object
net.officefloor.jdbc.postgresql.test.AbstractPostgreSqlJUnit.Configuration
- Enclosing class:
- AbstractPostgreSqlJUnit
Configuration of the PostgreSql database.
Follows builder pattern to allow configuring and passing to
AbstractPostgreSqlJUnit constructor.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSpecifies the database.maxConnections(int maxConnections) Specifies the max connections.Specifies the password.port(int port) Specifies the port.Specifies the server.Specifies the user name.
-
Constructor Details
-
Configuration
public Configuration()
-
-
Method Details
-
server
Specifies the server.- Parameters:
server- Server.- Returns:
this.
-
port
Specifies the port.- Parameters:
port- Port.- Returns:
this.
-
database
Specifies the database.- Parameters:
databaseName- Database name.- Returns:
this.
-
username
Specifies the user name.- Parameters:
username- User name.- Returns:
this.
-
password
Specifies the password.- Parameters:
password- Password.- Returns:
this.
-
maxConnections
Specifies the max connections.- Parameters:
maxConnections- Max connections.- Returns:
this.
-