Interface BootstrapConfigurer

All Known Implementing Classes:
DelegatingBootstrapConfigurer

public interface BootstrapConfigurer
Provides operations for (re-)configuring the Confluence bootstrap.

These operations shadow existing operaions in BootstrapManager and AtlassianBootstrapManager, but this interface should be used in preference.

Since:
7.14
See Also:
  • Method Details

    • setConfluenceHome

      void setConfluenceHome(String confluenceHome) throws com.atlassian.config.ConfigurationException
      Throws:
      com.atlassian.config.ConfigurationException
    • getWebAppContextPath

      String getWebAppContextPath()
    • setWebAppContextPath

      void setWebAppContextPath(String webAppContextPath) throws com.atlassian.config.ConfigurationException
      Throws:
      com.atlassian.config.ConfigurationException
    • isWebAppContextPathSet

      default boolean isWebAppContextPathSet()
    • checkConfigurationOnStartup

      void checkConfigurationOnStartup() throws com.atlassian.config.bootstrap.BootstrapException
      Throws:
      com.atlassian.config.bootstrap.BootstrapException
    • cleanupOnShutdown

      void cleanupOnShutdown()
    • init

      void init() throws com.atlassian.config.bootstrap.BootstrapException
      Throws:
      com.atlassian.config.bootstrap.BootstrapException
    • publishConfiguration

      void publishConfiguration()
    • setProperty

      void setProperty(String key, Object value)
    • setSetupComplete

      void setSetupComplete(boolean complete)
    • setBuildNumber

      void setBuildNumber(String buildNumber)
    • bootstrapDatasource

      void bootstrapDatasource(String datasourceName, String hibernateDialect) throws com.atlassian.config.bootstrap.BootstrapException
      Throws:
      com.atlassian.config.bootstrap.BootstrapException
    • bootstrapDatabase

      void bootstrapDatabase(com.atlassian.config.db.DatabaseDetails dbDetails, boolean embedded) throws com.atlassian.config.bootstrap.BootstrapException
      Throws:
      com.atlassian.config.bootstrap.BootstrapException
    • getSetupPersister

      com.atlassian.config.setup.SetupPersister getSetupPersister()
    • isBootstrapped

      boolean isBootstrapped()
    • save

      void save() throws com.atlassian.config.ConfigurationException
      Throws:
      com.atlassian.config.ConfigurationException
    • getTestDatasourceConnection

      Connection getTestDatasourceConnection(String datasourceName) throws com.atlassian.config.bootstrap.BootstrapException
      Throws:
      com.atlassian.config.bootstrap.BootstrapException
    • isApplicationHomeValid

      boolean isApplicationHomeValid()
    • getBootstrapConfigurer

      static BootstrapConfigurer getBootstrapConfigurer()
      Statically obtains an instance of the BootstrapConfigurer from BootstrapUtils. This will only work after the Bootstrap has been initialised.