Class ConnectionInfo

java.lang.Object
com.opentable.db.postgres.embedded.ConnectionInfo

public class ConnectionInfo extends Object
Basic data holding class to hold the connection information - the url, user, and password
  • Constructor Details

  • Method Details

    • getUser

      public String getUser()
    • getUrl

      public String getUrl()
    • getPassword

      public String getPassword()
    • getHost

      public String 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