Class DatabaseInstance
java.lang.Object
com.atlassian.jira.config.database.jdbcurlparser.DatabaseInstance
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe Instance field represents the "custom" extra property for the database.getPort()voidsetHostname(String hostname) voidsetInstance(String instance) void
-
Constructor Details
-
DatabaseInstance
public DatabaseInstance()
-
-
Method Details
-
getHostname
-
setHostname
-
getPort
-
setPort
-
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
-