Class IndexBackupContributorsManager

java.lang.Object
com.atlassian.jira.index.ha.backup.IndexBackupContributorsManager

public class IndexBackupContributorsManager extends Object
Manages registry of BackupContributor's. Registered implementors of BackupContributor are guaranteed to have their BackupContributor.contributeToBackup(BackupBuilder)) method called during each backup operation
Since:
8.0
  • Constructor Details

    • IndexBackupContributorsManager

      public IndexBackupContributorsManager()
  • Method Details

    • registerForBackups

      public void registerForBackups(BackupContributor contributor)
      Register contributor to make it included in each backup operation.
      Parameters:
      contributor -
    • pollContributors

      public void pollContributors(BackupBuilder backupBuilder)
      Iterate through registered backupContributors and allow them to pass files to the given backup backupBuilder
      Parameters:
      backupBuilder -