Package org.nuxeo.runtime.migration
Class MigrationServiceImpl.MigratorWithContext
java.lang.Object
org.nuxeo.runtime.migration.MigrationServiceImpl.MigratorWithContext
- All Implemented Interfaces:
Runnable
- Enclosing class:
- MigrationServiceImpl
Runnable for the migrator, that knows about the migration context.
- Since:
- 9.3
-
Field Summary
Modifier and TypeFieldDescriptionprotected final BiConsumer<MigrationService.MigrationContext,
Throwable> protected final Consumer<MigrationService.MigrationContext>
protected final MigrationService.MigrationContext
-
Constructor Summary
ConstructorDescriptionMigratorWithContext
(Consumer<MigrationService.MigrationContext> migration, MigrationServiceImpl.ProgressReporter progressReporter, BiConsumer<MigrationService.MigrationContext, Throwable> afterMigration) -
Method Summary
-
Field Details
-
migration
-
migrationContext
-
afterMigration
-
-
Constructor Details
-
MigratorWithContext
public MigratorWithContext(Consumer<MigrationService.MigrationContext> migration, MigrationServiceImpl.ProgressReporter progressReporter, BiConsumer<MigrationService.MigrationContext, Throwable> afterMigration)
-
-
Method Details