Package org.opends.server.backup
Class BackupManager.BackupFilter
- java.lang.Object
-
- org.opends.server.backup.BackupManager.BackupFilter
-
- Enclosing class:
- BackupManager
public static final class BackupManager.BackupFilter extends Object
Filters the available backups using the provided criteria.
-
-
Field Summary
Fields Modifier and Type Field Description static BackupManager.BackupFilterALL_BACKUPSAll the backups will be returned.
-
Constructor Summary
Constructors Constructor Description BackupFilter(Collection<BackupId> backupIds, Collection<String> backendNames, Collection<String> serverIds, boolean keepOnlyLastBackupForEachBackend)Builds a backup filter instance using the provided criteria.
-
-
-
Field Detail
-
ALL_BACKUPS
public static final BackupManager.BackupFilter ALL_BACKUPS
All the backups will be returned. No filtering will be performed. This will be slow with cloud storage.
-
-
Constructor Detail
-
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
-
-