Package lumis.upgrade.postupgrade
Class PostUpgradeTaskManager
- java.lang.Object
-
- lumis.upgrade.postupgrade.PostUpgradeTaskManager
-
public class PostUpgradeTaskManager extends java.lang.Object
Manager for post upgrade tasks management.- Since:
- 7.0.0
- Version:
- $Revision: 25987 $ $Date: 2023-11-08 17:43:33 -0300 (Wed, 08 Nov 2023) $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PostUpgradeTaskManager.AbstractPostUpgradeTask
Base implementation for post upgrade tasks.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
executePostUpgradeTasks()
Executes thetasks
and update the database with the number of the last executed task.static PostUpgradeTaskManager
getInstance()
Returns the instance of this manager.void
markAllTasksAsExecuted()
Marks all post upgrade tasks as executed.void
setUpgradeExecuted()
Sets the flag that indicates that the upgrade was executed.
-
-
-
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 thetasks
and update the database with the number of the last executed task.- Since:
- 7.0.0
-
-