Package step.migration.tasks
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
-
Field Summary
Fields inherited from class step.migration.MigrationTask
asOfVersion, collectionFactory, logger, migrationContext
-
Constructor Summary
ConstructorsConstructorDescriptionMigrateArtefactsToPlans
(step.core.collections.CollectionFactory collectionFactory, step.migration.MigrationContext migrationContext) -
Method Summary
Modifier and TypeMethodDescriptionmigrateExecutionParameter
(step.core.collections.DocumentObject object) protected String
migrateRepositoryObjectReference
(step.core.collections.DocumentObject artefact) protected void
void
void
Methods inherited from class step.migration.MigrationTask
getAsOfVersion, getDocumentCollection
-
Constructor Details
-
MigrateArtefactsToPlans
public MigrateArtefactsToPlans(step.core.collections.CollectionFactory collectionFactory, step.migration.MigrationContext migrationContext)
-
-
Method Details
-
runUpgradeScript
public void runUpgradeScript()- Specified by:
runUpgradeScript
in classstep.migration.MigrationTask
-
renameArtefactCollection
protected void renameArtefactCollection() -
migrateExecutionParameter
protected MigrateArtefactsToPlans.ExecutionParametersMigrationResult migrateExecutionParameter(step.core.collections.DocumentObject object) -
migrateRepositoryObjectReference
-
runDowngradeScript
public void runDowngradeScript()- Specified by:
runDowngradeScript
in classstep.migration.MigrationTask
-