Class ConnectionInfo
java.lang.Object
com.opentable.db.postgres.embedded.ConnectionInfo
Basic data holding class to hold the connection information - the url, user, and password
-
Constructor Summary
ConstructorDescriptionConnectionInfo
(String url, String user, String password, String host, int port) -
Method Summary
-
Constructor Details
-
ConnectionInfo
-
-
Method Details
-
getUser
-
getUrl
-
getPassword
-
getHost
Use sparingly! Prefer getUrl as a general rule over composition using getHost and getPort- Returns:
- the host. could be a hostname or an ip address
-
getPort
public int getPort()Use sparingly! Prefer getUrl as a general rule over composition using getHost and getPort- Returns:
- the port
-