public final class DelegatingBootstrapConfigurer extends Object implements BootstrapConfigurer
BootstrapConfigurer that delegates to a BootstrapManager.| Constructor and Description |
|---|
DelegatingBootstrapConfigurer(BootstrapManager bootstrapManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
bootstrapDatabase(com.atlassian.config.db.DatabaseDetails dbDetails,
boolean embedded) |
void |
bootstrapDatasource(String datasourceName,
String hibernateDialect) |
void |
checkConfigurationOnStartup() |
void |
cleanupOnShutdown() |
com.atlassian.config.setup.SetupPersister |
getSetupPersister() |
Connection |
getTestDatasourceConnection(String datasourceName) |
String |
getWebAppContextPath() |
void |
init() |
boolean |
isApplicationHomeValid() |
boolean |
isBootstrapped() |
boolean |
isWebAppContextPathSet() |
void |
publishConfiguration() |
void |
save() |
void |
setBuildNumber(String buildNumber) |
void |
setConfluenceHome(String confluenceHome) |
void |
setProperty(String key,
Object value) |
void |
setSetupComplete(boolean complete) |
void |
setWebAppContextPath(String webAppContextPath) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBootstrapConfigurerpublic DelegatingBootstrapConfigurer(BootstrapManager bootstrapManager)
public void setConfluenceHome(String confluenceHome) throws com.atlassian.config.ConfigurationException
setConfluenceHome in interface BootstrapConfigurercom.atlassian.config.ConfigurationExceptionpublic String getWebAppContextPath()
getWebAppContextPath in interface BootstrapConfigurerpublic void setWebAppContextPath(String webAppContextPath) throws com.atlassian.config.ConfigurationException
setWebAppContextPath in interface BootstrapConfigurercom.atlassian.config.ConfigurationExceptionpublic boolean isWebAppContextPathSet()
isWebAppContextPathSet in interface BootstrapConfigurerpublic void checkConfigurationOnStartup()
throws com.atlassian.config.bootstrap.BootstrapException
checkConfigurationOnStartup in interface BootstrapConfigurercom.atlassian.config.bootstrap.BootstrapExceptionpublic void cleanupOnShutdown()
cleanupOnShutdown in interface BootstrapConfigurerpublic void init()
throws com.atlassian.config.bootstrap.BootstrapException
init in interface BootstrapConfigurercom.atlassian.config.bootstrap.BootstrapExceptionpublic void publishConfiguration()
publishConfiguration in interface BootstrapConfigurerpublic void setProperty(String key, Object value)
setProperty in interface BootstrapConfigurerpublic void setSetupComplete(boolean complete)
setSetupComplete in interface BootstrapConfigurerpublic void setBuildNumber(String buildNumber)
setBuildNumber in interface BootstrapConfigurerpublic void bootstrapDatasource(String datasourceName, String hibernateDialect) throws com.atlassian.config.bootstrap.BootstrapException
bootstrapDatasource in interface BootstrapConfigurercom.atlassian.config.bootstrap.BootstrapExceptionpublic void bootstrapDatabase(com.atlassian.config.db.DatabaseDetails dbDetails,
boolean embedded)
throws com.atlassian.config.bootstrap.BootstrapException
bootstrapDatabase in interface BootstrapConfigurercom.atlassian.config.bootstrap.BootstrapExceptionpublic com.atlassian.config.setup.SetupPersister getSetupPersister()
getSetupPersister in interface BootstrapConfigurerpublic boolean isBootstrapped()
isBootstrapped in interface BootstrapConfigurerpublic void save()
throws com.atlassian.config.ConfigurationException
save in interface BootstrapConfigurercom.atlassian.config.ConfigurationExceptionpublic Connection getTestDatasourceConnection(String datasourceName) throws com.atlassian.config.bootstrap.BootstrapException
getTestDatasourceConnection in interface BootstrapConfigurercom.atlassian.config.bootstrap.BootstrapExceptionpublic boolean isApplicationHomeValid()
isApplicationHomeValid in interface BootstrapConfigurerCopyright © 2003–2022 Atlassian. All rights reserved.