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.ConfigurationException
String getWebAppContextPath()
void setWebAppContextPath(String webAppContextPath) throws com.atlassian.config.ConfigurationException
com.atlassian.config.ConfigurationException
boolean isWebAppContextPathSet()
void checkConfigurationOnStartup() throws com.atlassian.config.bootstrap.BootstrapException
com.atlassian.config.bootstrap.BootstrapException
void cleanupOnShutdown()
void init() throws com.atlassian.config.bootstrap.BootstrapException
com.atlassian.config.bootstrap.BootstrapException
void 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.BootstrapException
void bootstrapDatabase(com.atlassian.config.db.DatabaseDetails dbDetails, boolean embedded) throws com.atlassian.config.bootstrap.BootstrapException
com.atlassian.config.bootstrap.BootstrapException
com.atlassian.config.setup.SetupPersister getSetupPersister()
boolean isBootstrapped()
void save() throws com.atlassian.config.ConfigurationException
com.atlassian.config.ConfigurationException
Connection getTestDatasourceConnection(String datasourceName) throws com.atlassian.config.bootstrap.BootstrapException
com.atlassian.config.bootstrap.BootstrapException
boolean isApplicationHomeValid()
static BootstrapConfigurer getBootstrapConfigurer()
BootstrapConfigurer
from BootstrapUtils
.
This will only work after the Bootstrap has been initialised.Copyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences