Package org.nuxeo.ecm.core.migrator
Interface AbstractBulkMigrator.MigrationProgress
- Enclosing class:
- AbstractBulkMigrator
public static interface AbstractBulkMigrator.MigrationProgress
Reports per-batch progress information from a
compute call back to the
underlying bulk computation, so the migration's bulk status reflects skipped documents and per-document errors.- Since:
- 2025.20
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidReportscountdocuments that errored in the current batch with the given message.voidReportscountdocuments that errored, with a custom HTTP-style status code.voidskipped(long count) Reportscountdocuments skipped by the migrator in the current batch.
-
Method Details
-
skipped
void skipped(long count) Reportscountdocuments skipped by the migrator in the current batch. -
inError
Reportscountdocuments that errored in the current batch with the given message.This will cause the bulk command to be aborted and the migration step to fail.
-
inError
Reportscountdocuments that errored, with a custom HTTP-style status code.This will cause the bulk command to be aborted and the migration step to fail.
-