Package org.opends.server.backup
Class FileSystemBackupStorageProvider
- java.lang.Object
-
- org.opends.server.backup.FileSystemBackupStorageProvider
-
- All Implemented Interfaces:
BackupStorageProvider
public final class FileSystemBackupStorageProvider extends Object implements BackupStorageProvider
This class creates instances ofBackupStorage
plugged on the local file system.
-
-
Constructor Summary
Constructors Constructor Description FileSystemBackupStorageProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupStorage
backupStorage(BackupStorageConfig config)
Returns a newBackupStorage
.String
getStorageScheme()
Returns the storage scheme supported by the provider.
-
-
-
Method Detail
-
backupStorage
public BackupStorage backupStorage(BackupStorageConfig config) throws BackupException
Description copied from interface:BackupStorageProvider
Returns a newBackupStorage
.- Specified by:
backupStorage
in interfaceBackupStorageProvider
- Parameters:
config
- The configuration needed to set up the backup storage.- Returns:
- An instance of BackupStorage.
- Throws:
BackupException
- whenever an issue occurred while acquiring a backup storage.
-
getStorageScheme
public String getStorageScheme()
Description copied from interface:BackupStorageProvider
Returns the storage scheme supported by the provider.- Specified by:
getStorageScheme
in interfaceBackupStorageProvider
- Returns:
- The storage scheme supported by the provider.
-
-