Class BootstrapDatabaseConfigurationService

java.lang.Object
com.atlassian.jira.config.BootstrapDatabaseConfigurationService
All Implemented Interfaces:
DatabaseConfigurationService

public class BootstrapDatabaseConfigurationService extends Object implements DatabaseConfigurationService
DatabaseConfigurationService loaded during bootstrap.

During bootstrap, it can be the case that the DB is not yet configured, so this needs to be careful about not trying to read config in its constructor.

Since:
6.4.4
  • Constructor Details

    • BootstrapDatabaseConfigurationService

      public BootstrapDatabaseConfigurationService(DatabaseConfigurationManager databaseConfigurationManager)
  • Method Details

    • getSchemaName

      @Nullable public String getSchemaName()
      Description copied from interface: DatabaseConfigurationService
      Returns the database schema name that is currently used by JIRA.

      This is an optional field in the database configuration, and therefore it may return null.

      Specified by:
      getSchemaName in interface DatabaseConfigurationService
      Returns:
      the schema name.