Package com.atlassian.confluence.setup
Interface BootstrapManagerInternal
- All Superinterfaces:
com.atlassian.config.bootstrap.AtlassianBootstrapManager
,BootstrapManager
,ConfluenceBootstrapConstants
- All Known Implementing Classes:
DefaultBootstrapManager
Internal interface of Bootstrap Manager
- Since:
- 6.1
-
Field Summary
Fields inherited from interface com.atlassian.confluence.setup.BootstrapManager
JWT_KEY_LENGTH, JWT_PRIVATE_KEY, JWT_PUBLIC_KEY, SYNCHRONY_SERVICE_AUTHTOKEN
Fields inherited from interface com.atlassian.confluence.setup.ConfluenceBootstrapConstants
ATLASSIAN_LICENSE_KEY, ATTACHMENTS_DIR_PROP, CONFLUENCE_HOME_CONSTANT, CONFLUENCE_LOCAL_HOME_CONSTANT, DEFAULT_LICENSE_REGISTRY_KEY, GLOBAL_PLUGIN_STATE, INSTALLATION_DATE_KEY, LICENSE_HASH_KEY, LICENSE_MESSAGE_KEY, LUCENE_INDEX_DIR_PROP, TEMP_DIR_PROP, WEBAPP_CONTEXT_PATH_KEY
-
Method Summary
Modifier and TypeMethodDescriptionOptional<com.atlassian.config.db.DatabaseDetails>
getDatabaseDetail
(String database) Get Db configuration from config file if we are using db.first setup typeboolean
Perform upgrade of DB configurationMethods inherited from interface com.atlassian.config.bootstrap.AtlassianBootstrapManager
bootstrapDatabase, bootstrapDatasource, databaseContainsExistingData, getApplicationConfig, getBootstrapFailureReason, getBuildNumber, getHibernateConfig, getHibernateConfigurator, getHibernateProperties, getOperation, getPropertiesWithPrefix, getProperty, getPropertyKeys, getSetupPersister, getString, getTestDatabaseConnection, getTestDatasourceConnection, init, isApplicationHomeValid, isBootstrapped, isPropertyTrue, isSetupComplete, publishConfiguration, removeProperty, save, setBuildNumber, setHibernateConfigurator, setOperation, setProperty, setSetupComplete
Methods inherited from interface com.atlassian.confluence.setup.BootstrapManager
bootstrapSharedConfiguration, checkConfigurationOnStartup, cleanupOnShutdown, getApplicationHome, getConfiguredApplicationHome, getConfiguredLocalHome, getConfluenceHome, getDataSourceName, getFilePathProperty, getHibernateDialect, getLocalHome, getSharedHome, getWebAppContextPath, isWebAppContextPathSet, setConfluenceHome, setWebAppContextPath
-
Method Details
-
getDatabaseDetail
Optional<com.atlassian.config.db.DatabaseDetails> getDatabaseDetail(String database) throws com.atlassian.config.ConfigurationException Get Db configuration from config file if we are using db.first setup type- Parameters:
database
- the name of database- Returns:
- Optional Database Configuration object
- Throws:
com.atlassian.config.ConfigurationException
- Since:
- 6.1
-
performPersistenceUpgrade
boolean performPersistenceUpgrade()Perform upgrade of DB configuration- Returns:
- true if successful, false if failed
- Since:
- 8.6
-