Package org.opends.server.backup
Class BackupManager.BackupFilter
java.lang.Object
org.opends.server.backup.BackupManager.BackupFilter
- Enclosing class:
- BackupManager
Filters the available backups using the provided criteria.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BackupManager.BackupFilterAll the backups will be returned. -
Constructor Summary
ConstructorsConstructorDescriptionBackupFilter(Collection<BackupId> backupIds, Collection<String> backendNames, Collection<String> serverIds, boolean keepOnlyLastBackupForEachBackend) Builds a backup filter instance using the provided criteria. -
Method Summary
-
Field Details
-
ALL_BACKUPS
All the backups will be returned. No filtering will be performed. This will be slow with cloud storage.
-
-
Constructor Details
-
BackupFilter
public BackupFilter(Collection<BackupId> backupIds, Collection<String> backendNames, Collection<String> serverIds, boolean keepOnlyLastBackupForEachBackend) Builds a backup filter instance using the provided criteria.- Parameters:
backupIds- the backup ids to keep, if not emptybackendNames- the backup names to keep, if not emptyserverIds- backup against these server ids will be kept, if not emptykeepOnlyLastBackupForEachBackend- whether to retain only the last backup for each backend
-