Package com.atlassian.confluence.setup
Class ConfluenceDatabaseDetails
- java.lang.Object
-
- com.atlassian.config.db.DatabaseDetails
-
- com.atlassian.confluence.setup.ConfluenceDatabaseDetails
-
public class ConfluenceDatabaseDetails extends com.atlassian.config.db.DatabaseDetails
Encapsulates the database configuration at the database setup stage.- Since:
- 6.5.
-
-
Constructor Summary
Constructors Constructor Description ConfluenceDatabaseDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDatabaseName()
List
getDatabases()
String
getDatabaseType()
String
getDatabaseUrl()
String
getHostname()
String
getInstanceName()
String
getPort()
String
getServiceName()
boolean
isSimple()
void
setDatabaseName(String databaseName)
void
setDatabaseType(String databaseType)
void
setHostname(String hostname)
void
setInstanceName(String instanceName)
void
setPort(String port)
void
setServiceName(String serviceName)
void
setSimple(boolean simple)
void
setupForDatabase(String databaseType)
-
Methods inherited from class com.atlassian.config.db.DatabaseDetails
buildDetailsFromProperties, checkDriver, getConfigProps, getDbNotes, getDefaults, getDialect, getDriverClassName, getExtraHibernateProperties, getPassword, getPoolSize, getUserName, setDatabaseUrl, setDbNotes, setDialect, setDriverClassName, setPassword, setPoolSize, setUserName, toString
-
-
-
-
Method Detail
-
getDatabases
public List getDatabases()
-
getDatabaseType
public String getDatabaseType()
-
setDatabaseType
public void setDatabaseType(String databaseType)
-
isSimple
public boolean isSimple()
-
setSimple
public void setSimple(boolean simple)
-
getHostname
public String getHostname()
-
setHostname
public void setHostname(String hostname)
-
getPort
public String getPort()
-
setPort
public void setPort(String port)
-
getDatabaseName
public String getDatabaseName()
-
setDatabaseName
public void setDatabaseName(String databaseName)
-
getServiceName
public String getServiceName()
-
setServiceName
public void setServiceName(String serviceName)
-
getInstanceName
public String getInstanceName()
-
setInstanceName
public void setInstanceName(String instanceName)
-
getDatabaseUrl
public String getDatabaseUrl()
- Overrides:
getDatabaseUrl
in classcom.atlassian.config.db.DatabaseDetails
-
setupForDatabase
public void setupForDatabase(String databaseType)
- Overrides:
setupForDatabase
in classcom.atlassian.config.db.DatabaseDetails
-
-