Interface OnObjectsProcessingHandler
public interface OnObjectsProcessingHandler
Handler for events related to objects processing (persisting, skipping etc)
- Since:
- 8.3.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onObjectsPersist
(Collection<ImportedObjectV2> persistedObjects) Is called when objects have been successfully persisted to the database.void
onObjectsReusing
(Collection<ImportedObjectV2> reusedObjects) Is called when objects are already in the database (for example, users or labels) and those objects were not persisted but reused.void
onObjectsSkipping
(Collection<ImportedObjectV2> skippedObjects, SkippedObjectsReason reason) Is called when objects are skipped because they cannot be persisted because they are invalid.
-
Method Details
-
onObjectsPersist
Is called when objects have been successfully persisted to the database.- Throws:
BackupRestoreException
-
onObjectsSkipping
Is called when objects are skipped because they cannot be persisted because they are invalid. -
onObjectsReusing
Is called when objects are already in the database (for example, users or labels) and those objects were not persisted but reused.
-