Interface OnObjectsProcessingHandler
-
public interface OnObjectsProcessingHandlerHandler 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 voidonObjectsPersist(Collection<ImportedObjectV2> persistedObjects)Is called when objects have been successfully persisted to the database.voidonObjectsReusing(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.voidonObjectsSkipping(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.
-
-