Uses of Interface
org.nuxeo.runtime.migration.MigrationService.MigrationContext
Package
Description
-
Uses of MigrationService.MigrationContext in org.nuxeo.ecm.core.migrator
Modifier and TypeFieldDescriptionprotected MigrationService.MigrationContext
AbstractRepositoryMigrator.migrationContext
Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescriptionprotected void
AbstractRepositoryMigrator.checkShutdownRequested
(MigrationService.MigrationContext migrationContext) protected void
AbstractRepositoryMigrator.migrateRepository
(String step, MigrationService.MigrationContext migrationContext, String repositoryName) protected abstract void
AbstractRepositoryMigrator.migrateSession
(String step, MigrationService.MigrationContext context, CoreSession session) protected <T> void
AbstractRepositoryMigrator.processBatched
(MigrationService.MigrationContext migrationContext, int batchSize, Collection<T> collection, Consumer<T> consumer, String progressMessage) Runs a consumer on the collection, committing every BATCH_SIZE elements, reporting progress and checking for shutdown request.void
AbstractBulkMigrator.run
(String step, MigrationService.MigrationContext migrationContext) -
Uses of MigrationService.MigrationContext in org.nuxeo.ecm.core.trash
Modifier and TypeMethodDescriptionprotected void
TrashedStateMigrator.migrateSession
(String step, MigrationService.MigrationContext migrationContext, CoreSession session) void
TrashedStateMigrator.run
(String step, MigrationService.MigrationContext migrationContext) -
Uses of MigrationService.MigrationContext in org.nuxeo.ecm.platform.comment.impl
Modifier and TypeMethodDescriptionprotected void
CommentsMigrator.migrateSession
(String step, MigrationService.MigrationContext migrationContext, CoreSession session) protected void
CommentsMigrator.migrateSessionPropertyToSecured
(CoreSession session, MigrationService.MigrationContext migrationContext) protected void
CommentsMigrator.migrateSessionRelationToProperty
(CoreSession session, MigrationService.MigrationContext migrationContext) void
CommentsMigrator.run
(String step, MigrationService.MigrationContext migrationContext) -
Uses of MigrationService.MigrationContext in org.nuxeo.runtime.migration
Modifier and TypeClassDescriptionprotected static class
Migration context implementation that reports progress in the key/value store and can be shutdown.Modifier and TypeFieldDescriptionprotected final MigrationService.MigrationContext
MigrationServiceImpl.MigratorWithContext.migrationContext
Modifier and TypeFieldDescriptionprotected final BiConsumer<MigrationService.MigrationContext,
Throwable> MigrationServiceImpl.MigratorWithContext.afterMigration
protected final Consumer<MigrationService.MigrationContext>
MigrationServiceImpl.MigratorWithContext.migration
Modifier and TypeMethodDescriptionvoid
MigrationService.Migrator.run
(String step, MigrationService.MigrationContext migrationContext) Runs a migration step.void
MigrationServiceImpl.InvalidatorMigrator.run
(String step, MigrationService.MigrationContext migrationContext) ModifierConstructorDescriptionMigratorWithContext
(Consumer<MigrationService.MigrationContext> migration, MigrationServiceImpl.ProgressReporter progressReporter, BiConsumer<MigrationService.MigrationContext, Throwable> afterMigration) MigratorWithContext
(Consumer<MigrationService.MigrationContext> migration, MigrationServiceImpl.ProgressReporter progressReporter, BiConsumer<MigrationService.MigrationContext, Throwable> afterMigration)
AbstractRepositoryMigrator.migrateRepository(String, MigrationContext, String)
AbstractRepositoryMigrator.migrateSession(String, MigrationContext, CoreSession)
AbstractRepositoryMigrator.checkShutdownRequested(MigrationContext)
AbstractRepositoryMigrator.processBatched(MigrationContext, int, Collection, Consumer, String)