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