Class ImportedObjectsDispatcher
- java.lang.Object
-
- com.atlassian.confluence.impl.backuprestore.restore.ImportedObjectsDispatcher
-
public class ImportedObjectsDispatcher extends Object
Accepts objects and sends the object to the proper persister.- Since:
- 7.20.0
-
-
Constructor Summary
Constructors Constructor Description ImportedObjectsDispatcher(PersistersCreator persistersCreator, DeferredActionsHolder deferredActionsHolder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
processIncomingImportedObject(ImportedObjectV2 importedObject)
boolean
processNextStashPhase()
Processes the next phase.void
runDeferredOperations()
-
-
-
Constructor Detail
-
ImportedObjectsDispatcher
public ImportedObjectsDispatcher(PersistersCreator persistersCreator, DeferredActionsHolder deferredActionsHolder)
-
-
Method Detail
-
processIncomingImportedObject
public boolean processIncomingImportedObject(ImportedObjectV2 importedObject) throws BackupRestoreException
- Throws:
BackupRestoreException
-
runDeferredOperations
public void runDeferredOperations() throws BackupRestoreException
- Throws:
BackupRestoreException
-
processNextStashPhase
public boolean processNextStashPhase() throws BackupRestoreException
Processes the next phase.- Returns:
- true of the phase was processed and false of the there are no more phases.
- Throws:
BackupRestoreException
-
-