Class PostUpgradeTaskManager


  • public class PostUpgradeTaskManager
    extends Object
    Manager for post upgrade tasks management.
    Since:
    7.0.0
    Version:
    $Revision: 24985 $ $Date: 2022-05-02 23:04:30 -0300 (Mon, 02 May 2022) $
    • Method Detail

      • getInstance

        public static PostUpgradeTaskManager getInstance()
        Returns the instance of this manager.
        Returns:
        the instance of this manager.
        Since:
        7.0.0
      • markAllTasksAsExecuted

        public void markAllTasksAsExecuted()
        Marks all post upgrade tasks as executed.
        Since:
        7.0.0
      • setUpgradeExecuted

        public void setUpgradeExecuted()
        Sets the flag that indicates that the upgrade was executed.
        Since:
        7.1.0
      • executePostUpgradeTasks

        public void executePostUpgradeTasks()
        Executes the tasks and update the database with the number of the last executed task.
        Since:
        7.0.0