Class BackupService
java.lang.Object
de.bytestore.hostinger.process.service.BackupService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the backup configuration by delegating to the appropriate extension point associated with the specified Backup instance.voidInitiates the creation of a backup by delegating the operation to the corresponding extension point associated with the specified Backup instance.getExtensionPoint(Backup backupIO) Retrieves the extension point for a given backup instance by iterating through available backup extension pointsvoidRestores a backup by delegating the operation to the appropriate extension point associated with the given backup instance.
-
Constructor Details
-
BackupService
public BackupService()
-
-
Method Details
-
config
Retrieves the backup configuration by delegating to the appropriate extension point associated with the specified Backup instance.- Parameters:
backupIO- the Backup entity for which the configuration is retrieved- Returns:
- the BackupExtensionConfig containing the backup configuration details
-
getExtensionPoint
Retrieves the extension point for a given backup instance by iterating through available backup extension points -
create
Initiates the creation of a backup by delegating the operation to the corresponding extension point associated with the specified Backup instance.- Parameters:
backupIO- the Backup entity that needs to be created
-
restore
Restores a backup by delegating the operation to the appropriate extension point associated with the given backup instance.- Parameters:
backupIO- the Backup entity that needs to be restored
-