Class DatabaseInstance

java.lang.Object
com.atlassian.jira.config.database.jdbcurlparser.DatabaseInstance

public class DatabaseInstance extends Object
Represents a database instance as parsed out of a JDBC URL. That is, the servername and port number that the DB is running on, as well as the "custom" instance field.
  • Constructor Details

    • DatabaseInstance

      public DatabaseInstance()
  • Method Details

    • getHostname

      public String getHostname()
    • setHostname

      public void setHostname(String hostname)
    • getPort

      public String getPort()
    • setPort

      public void setPort(String port)
    • getInstance

      public String getInstance()
      The Instance field represents the "custom" extra property for the database. ie on Oracle the "SID", on MySQL or Postgres the "Database", or on SQL Server the "Instance"
      Returns:
      Instance field
    • setInstance

      public void setInstance(String instance)