Interface OnObjectsProcessingHandler
-
public interface OnObjectsProcessingHandler
Handler for events related to objects processing (persisting, skipping etc)- Since:
- 8.3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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 Detail
-
onObjectsPersist
void onObjectsPersist(Collection<ImportedObjectV2> persistedObjects) throws BackupRestoreException
Is called when objects have been successfully persisted to the database.- Throws:
BackupRestoreException
-
onObjectsSkipping
void onObjectsSkipping(Collection<ImportedObjectV2> skippedObjects, SkippedObjectsReason reason)
Is called when objects are skipped because they cannot be persisted because they are invalid.
-
onObjectsReusing
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.
-
-