Package step.migration.tasks
Class MigrateArtefactsToPlans
- java.lang.Object
-
- step.migration.MigrationTask
-
- step.migration.tasks.MigrateArtefactsToPlans
-
public class MigrateArtefactsToPlans extends MigrationTask
This task migrates the collection 'artefacts' to the collection 'plans' which has been introduced in 3.13
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
MigrateArtefactsToPlans.ExecutionParametersMigrationResult
-
Field Summary
-
Fields inherited from class step.migration.MigrationTask
asOfVersion, collectionFactory, logger, migrationContext
-
-
Constructor Summary
Constructors Constructor Description MigrateArtefactsToPlans(step.core.collections.CollectionFactory collectionFactory, MigrationContext migrationContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MigrateArtefactsToPlans.ExecutionParametersMigrationResult
migrateExecutionParameter(step.core.collections.DocumentObject object)
protected java.lang.String
migrateRepositoryObjectReference(step.core.collections.DocumentObject artefact)
protected void
renameArtefactCollection()
void
runDowngradeScript()
Script to be executed when migrating from the version asOfVersion to a version lower than asOfVersionvoid
runUpgradeScript()
Script to be executed when migrating from a version lower than asOfVersion to the version asOfVersion-
Methods inherited from class step.migration.MigrationTask
getAsOfVersion, getDocumentCollection
-
-
-
-
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 classMigrationTask
-
renameArtefactCollection
protected void renameArtefactCollection()
-
migrateExecutionParameter
protected MigrateArtefactsToPlans.ExecutionParametersMigrationResult migrateExecutionParameter(step.core.collections.DocumentObject object)
-
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 classMigrationTask
-
-