Class MigrateArtefactsToPlansEE


  • public class MigrateArtefactsToPlansEE
    extends step.migration.MigrationTask
    This task migrates the collection 'artefacts' to the collection 'plans' which has been introduced in 3.13
    • Field Summary

      • Fields inherited from class step.migration.MigrationTask

        asOfVersion, collectionFactory, logger, migrationContext
    • Constructor Summary

      Constructors 
      Constructor Description
      MigrateArtefactsToPlansEE​(step.core.collections.CollectionFactory collectionFactory, step.migration.MigrationContext migrationContext)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void runDowngradeScript()  
      void runUpgradeScript()  
      • Methods inherited from class step.migration.MigrationTask

        getAsOfVersion, getDocumentCollection
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MigrateArtefactsToPlansEE

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

      • runUpgradeScript

        public void runUpgradeScript()
        Specified by:
        runUpgradeScript in class step.migration.MigrationTask
      • runDowngradeScript

        public void runDowngradeScript()
        Specified by:
        runDowngradeScript in class step.migration.MigrationTask