Class MigrateArtefactsToPlans

java.lang.Object
step.migration.MigrationTask
step.migration.tasks.MigrateArtefactsToPlans

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

    • MigrateArtefactsToPlans

      public MigrateArtefactsToPlans(step.core.collections.CollectionFactory collectionFactory, step.migration.MigrationContext migrationContext)
  • Method Details

    • runUpgradeScript

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

      protected void renameArtefactCollection()
    • migrateExecutionParameter

      protected MigrateArtefactsToPlans.ExecutionParametersMigrationResult migrateExecutionParameter(step.core.collections.DocumentObject object)
    • migrateRepositoryObjectReference

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

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