Class MigrateArtefactsToPlans


  • public class MigrateArtefactsToPlans
    extends MigrationTask
    This task migrates the collection 'artefacts' to the collection 'plans' which has been introduced in 3.13
    • Constructor Detail

      • MigrateArtefactsToPlans

        public MigrateArtefactsToPlans​(step.core.collections.CollectionFactory collectionFactory,
                                       MigrationContext migrationContext)
    • Method Detail

      • runUpgradeScript

        public void runUpgradeScript()
        Description copied from class: MigrationTask
        Script to be executed when migrating from a version lower than asOfVersion to the version asOfVersion
        Specified by:
        runUpgradeScript in class MigrationTask
      • renameArtefactCollection

        protected void renameArtefactCollection()
      • migrateRepositoryObjectReference

        protected java.lang.String migrateRepositoryObjectReference​(step.core.collections.DocumentObject artefact)
      • runDowngradeScript

        public void runDowngradeScript()
        Description copied from class: MigrationTask
        Script to be executed when migrating from the version asOfVersion to a version lower than asOfVersion
        Specified by:
        runDowngradeScript in class MigrationTask