Class IndexBackupContributorsManager
java.lang.Object
com.atlassian.jira.index.ha.backup.IndexBackupContributorsManager
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
pollContributors
(BackupBuilder backupBuilder) Iterate through registered backupContributors and allow them to pass files to the given backup backupBuildervoid
registerForBackups
(BackupContributor contributor) Register contributor to make it included in each backup operation.
-
Constructor Details
-
IndexBackupContributorsManager
public IndexBackupContributorsManager()
-
-
Method Details
-
registerForBackups
Register contributor to make it included in each backup operation.- Parameters:
contributor
-
-
pollContributors
Iterate through registered backupContributors and allow them to pass files to the given backup backupBuilder- Parameters:
backupBuilder
-
-