Class SpaceRestoreService
- java.lang.Object
-
- com.atlassian.confluence.impl.backuprestore.restore.AbstractRestoreService
-
- com.atlassian.confluence.impl.backuprestore.restore.SpaceRestoreService
-
public class SpaceRestoreService extends AbstractRestoreService
Service responsible for space restore operations.- Since:
- 7.17.0
-
-
Constructor Summary
Constructors Constructor Description SpaceRestoreService(ImportExportManager importExportManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupRestoreJobResultdoRestoreSynchronously(BackupRestoreJob job)Run the restore process synchronously.-
Methods inherited from class com.atlassian.confluence.impl.backuprestore.restore.AbstractRestoreService
validateRestoreJob
-
-
-
-
Constructor Detail
-
SpaceRestoreService
public SpaceRestoreService(ImportExportManager importExportManager)
-
-
Method Detail
-
doRestoreSynchronously
public BackupRestoreJobResult doRestoreSynchronously(BackupRestoreJob job) throws BackupRestoreException
Run the restore process synchronously. The function either returns the result object with all required information when the restore process finishes or throws an exception (if the backup fails). At this moment, we call the legacy importer here. This function will be replaced when we get the new backup/restore functionality.- Specified by:
doRestoreSynchronouslyin classAbstractRestoreService- Throws:
BackupRestoreException
-
-