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
Filter a collection ofbackendIds
,backendNames
andserverIds
.
-
-
Field Summary
Fields Modifier and Type Field Description static BackupManager.BackupFilter
ALL_BACKUPS
All the backups will be returned.
-
Constructor Summary
Constructors Constructor Description BackupFilter(Collection<BackupId> backupIds, Collection<String> backendNames, Collection<String> serverIds, boolean keepOnlyLastBackupForEachBackend)
Create a new filter.
-
-
-
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)
Create a new filter.- Parameters:
backupIds
- theBackupId
s to includebackendNames
- the backend names to includeserverIds
- the server IDs to includekeepOnlyLastBackupForEachBackend
- whether to only keep the last backup for each backend
-
-