com.atlassian.jira.configurator.db
Class DatabaseInstance

java.lang.Object
  extended by com.atlassian.jira.configurator.db.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 Summary
DatabaseInstance()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseInstance

public DatabaseInstance()
Method Detail

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)


Copyright © 2002-2012 Atlassian. All Rights Reserved.