Uses of Interface
org.nuxeo.runtime.migration.MigrationService.MigrationContext
-
Packages that use MigrationService.MigrationContext Package Description org.nuxeo.ecm.core.migrator org.nuxeo.ecm.core.trash org.nuxeo.ecm.platform.comment.impl org.nuxeo.ecm.platform.tag org.nuxeo.runtime.migration -
-
Uses of MigrationService.MigrationContext in org.nuxeo.ecm.core.migrator
Fields in org.nuxeo.ecm.core.migrator declared as MigrationService.MigrationContext Modifier and Type Field Description protected MigrationService.MigrationContext
AbstractRepositoryMigrator. migrationContext
Deprecated, for removal: This API element is subject to removal in a future version.since 11.1, please use parameters when using or implementing:AbstractRepositoryMigrator.migrateRepository(String, MigrationContext, String)
AbstractRepositoryMigrator.migrateSession(String, MigrationContext, CoreSession)
AbstractRepositoryMigrator.checkShutdownRequested(MigrationContext)
AbstractRepositoryMigrator.processBatched(MigrationContext, int, Collection, Consumer, String)
Methods in org.nuxeo.ecm.core.migrator with parameters of type MigrationService.MigrationContext Modifier and Type Method Description protected 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
Methods in org.nuxeo.ecm.core.trash with parameters of type MigrationService.MigrationContext Modifier and Type Method Description protected 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
Methods in org.nuxeo.ecm.platform.comment.impl with parameters of type MigrationService.MigrationContext Modifier and Type Method Description protected 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.ecm.platform.tag
Methods in org.nuxeo.ecm.platform.tag with parameters of type MigrationService.MigrationContext Modifier and Type Method Description protected void
TagsMigrator. migrateSession(String step, MigrationService.MigrationContext migrationContext, CoreSession session)
void
TagsMigrator. run(String step, MigrationService.MigrationContext migrationContext)
-
Uses of MigrationService.MigrationContext in org.nuxeo.runtime.migration
Classes in org.nuxeo.runtime.migration that implement MigrationService.MigrationContext Modifier and Type Class Description protected static class
MigrationServiceImpl.MigrationContextImpl
Migration context implementation that reports progress in the key/value store and can be shutdown.Fields in org.nuxeo.runtime.migration declared as MigrationService.MigrationContext Modifier and Type Field Description protected MigrationService.MigrationContext
MigrationServiceImpl.MigratorWithContext. migrationContext
Fields in org.nuxeo.runtime.migration with type parameters of type MigrationService.MigrationContext Modifier and Type Field Description protected BiConsumer<MigrationService.MigrationContext,Throwable>
MigrationServiceImpl.MigratorWithContext. afterMigration
protected Consumer<MigrationService.MigrationContext>
MigrationServiceImpl.MigratorWithContext. migration
Methods in org.nuxeo.runtime.migration with parameters of type MigrationService.MigrationContext Modifier and Type Method Description void
MigrationService.Migrator. run(String step, MigrationService.MigrationContext migrationContext)
Runs a migration step.void
MigrationServiceImpl.InvalidatorMigrator. run(String step, MigrationService.MigrationContext migrationContext)
Constructor parameters in org.nuxeo.runtime.migration with type arguments of type MigrationService.MigrationContext Constructor Description MigratorWithContext(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)
-