Class MigrateRemovedCleanupPlansTask


  • public class MigrateRemovedCleanupPlansTask
    extends step.migration.MigrationTask
    This task removes the outdated housekeeping and monitoring jobs.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String HOUSEKEEPING_JOB_PLAN  
      static java.lang.String MONITORING_JOB_PLAN  
      • Fields inherited from class step.migration.MigrationTask

        asOfVersion, collectionFactory, logger, migrationContext
    • Constructor Summary

      Constructors 
      Constructor Description
      MigrateRemovedCleanupPlansTask​(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
    • Field Detail

      • HOUSEKEEPING_JOB_PLAN

        public static final java.lang.String HOUSEKEEPING_JOB_PLAN
        See Also:
        Constant Field Values
      • MONITORING_JOB_PLAN

        public static final java.lang.String MONITORING_JOB_PLAN
        See Also:
        Constant Field Values
    • Constructor Detail

      • MigrateRemovedCleanupPlansTask

        public MigrateRemovedCleanupPlansTask​(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