public class

DatabaseInstance

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

Class Overview

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.

Summary

Public Constructors
DatabaseInstance()
Public Methods
String getHostname()
String getInstance()
The Instance field represents the "custom" extra property for the database.
String getPort()
void setHostname(String hostname)
void setInstance(String instance)
void setPort(String port)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public DatabaseInstance ()

Public Methods

public String getHostname ()

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

public String getPort ()

public void setHostname (String hostname)

public void setInstance (String instance)

public void setPort (String port)