Package step.migration.tasks
Class MigrateAssertNegation
- java.lang.Object
-
- step.migration.MigrationTask
-
- step.migration.tasks.MigrateAssertNegation
-
public class MigrateAssertNegation extends MigrationTask
This function ensures that all the artefacts have their name saved properly in the attribute map. This will only be needed for the migration from 3.3.x or lower to 3.4.x or higher
-
-
Field Summary
-
Fields inherited from class step.migration.MigrationTask
asOfVersion, collectionFactory, logger, migrationContext
-
-
Constructor Summary
Constructors Constructor Description MigrateAssertNegation(step.core.collections.CollectionFactory collectionFactory, MigrationContext migrationContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
MigrateAssertNegation
public MigrateAssertNegation(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
-
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
-
-