public interface BootstrapConfigurer
These operations shadow existing operaions in BootstrapManager and AtlassianBootstrapManager,
but this interface should be used in preference.
DefaultBootstrapManager,
DelegatingBootstrapConfigurer| 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() |
static BootstrapConfigurer |
getBootstrapConfigurer()
Statically obtains an instance of the
BootstrapConfigurer from BootstrapUtils. |
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) |
void setConfluenceHome(String confluenceHome) throws com.atlassian.config.ConfigurationException
com.atlassian.config.ConfigurationExceptionString getWebAppContextPath()
void setWebAppContextPath(String webAppContextPath) throws com.atlassian.config.ConfigurationException
com.atlassian.config.ConfigurationExceptionboolean isWebAppContextPathSet()
void checkConfigurationOnStartup()
throws com.atlassian.config.bootstrap.BootstrapException
com.atlassian.config.bootstrap.BootstrapExceptionvoid cleanupOnShutdown()
void init() throws com.atlassian.config.bootstrap.BootstrapException
com.atlassian.config.bootstrap.BootstrapExceptionvoid publishConfiguration()
void setSetupComplete(boolean complete)
void setBuildNumber(String buildNumber)
void bootstrapDatasource(String datasourceName, String hibernateDialect) throws com.atlassian.config.bootstrap.BootstrapException
com.atlassian.config.bootstrap.BootstrapExceptionvoid bootstrapDatabase(com.atlassian.config.db.DatabaseDetails dbDetails,
boolean embedded)
throws com.atlassian.config.bootstrap.BootstrapException
com.atlassian.config.bootstrap.BootstrapExceptioncom.atlassian.config.setup.SetupPersister getSetupPersister()
boolean isBootstrapped()
void save() throws com.atlassian.config.ConfigurationException
com.atlassian.config.ConfigurationExceptionConnection getTestDatasourceConnection(String datasourceName) throws com.atlassian.config.bootstrap.BootstrapException
com.atlassian.config.bootstrap.BootstrapExceptionboolean isApplicationHomeValid()
static BootstrapConfigurer getBootstrapConfigurer()
BootstrapConfigurer from BootstrapUtils.
This will only work after the Bootstrap has been initialised.Copyright © 2003–2022 Atlassian. All rights reserved.