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, wait
getBootstrapConfigurer
public DelegatingBootstrapConfigurer(BootstrapManager bootstrapManager)
public void setConfluenceHome(String confluenceHome) throws com.atlassian.config.ConfigurationException
setConfluenceHome
in interface BootstrapConfigurer
com.atlassian.config.ConfigurationException
public String getWebAppContextPath()
getWebAppContextPath
in interface BootstrapConfigurer
public void setWebAppContextPath(String webAppContextPath) throws com.atlassian.config.ConfigurationException
setWebAppContextPath
in interface BootstrapConfigurer
com.atlassian.config.ConfigurationException
public boolean isWebAppContextPathSet()
isWebAppContextPathSet
in interface BootstrapConfigurer
public void checkConfigurationOnStartup() throws com.atlassian.config.bootstrap.BootstrapException
checkConfigurationOnStartup
in interface BootstrapConfigurer
com.atlassian.config.bootstrap.BootstrapException
public void cleanupOnShutdown()
cleanupOnShutdown
in interface BootstrapConfigurer
public void init() throws com.atlassian.config.bootstrap.BootstrapException
init
in interface BootstrapConfigurer
com.atlassian.config.bootstrap.BootstrapException
public void publishConfiguration()
publishConfiguration
in interface BootstrapConfigurer
public void setProperty(String key, Object value)
setProperty
in interface BootstrapConfigurer
public void setSetupComplete(boolean complete)
setSetupComplete
in interface BootstrapConfigurer
public void setBuildNumber(String buildNumber)
setBuildNumber
in interface BootstrapConfigurer
public void bootstrapDatasource(String datasourceName, String hibernateDialect) throws com.atlassian.config.bootstrap.BootstrapException
bootstrapDatasource
in interface BootstrapConfigurer
com.atlassian.config.bootstrap.BootstrapException
public void bootstrapDatabase(com.atlassian.config.db.DatabaseDetails dbDetails, boolean embedded) throws com.atlassian.config.bootstrap.BootstrapException
bootstrapDatabase
in interface BootstrapConfigurer
com.atlassian.config.bootstrap.BootstrapException
public com.atlassian.config.setup.SetupPersister getSetupPersister()
getSetupPersister
in interface BootstrapConfigurer
public boolean isBootstrapped()
isBootstrapped
in interface BootstrapConfigurer
public void save() throws com.atlassian.config.ConfigurationException
save
in interface BootstrapConfigurer
com.atlassian.config.ConfigurationException
public Connection getTestDatasourceConnection(String datasourceName) throws com.atlassian.config.bootstrap.BootstrapException
getTestDatasourceConnection
in interface BootstrapConfigurer
com.atlassian.config.bootstrap.BootstrapException
public boolean isApplicationHomeValid()
isApplicationHomeValid
in interface BootstrapConfigurer
Copyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences