Package lumis.upgrade.postupgrade
Class PostUpgradeTaskManager.AbstractPostUpgradeTask
- java.lang.Object
-
- lumis.upgrade.postupgrade.PostUpgradeTaskManager.AbstractPostUpgradeTask
-
- All Implemented Interfaces:
IPostUpgradeTask
- Direct Known Subclasses:
RemoveEventOrphanIndicesTask
- Enclosing class:
- PostUpgradeTaskManager
public abstract static class PostUpgradeTaskManager.AbstractPostUpgradeTask extends Object implements IPostUpgradeTask
Base implementation for post upgrade tasks.- Since:
- 7.1.0
- Version:
- $Revision: 24616 $ $Date: 2021-07-27 14:51:23 -0300 (Tue, 27 Jul 2021) $
-
-
Constructor Summary
Constructors Constructor Description AbstractPostUpgradeTask()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
execute()
Execute the task.protected abstract PostUpgradeTaskException.ErrorLevel
getErrorLevel()
Returns the error level to use when this task fail.void
run()
The execution code.
-
-
-
Method Detail
-
run
public void run() throws PostUpgradeTaskException
Description copied from interface:IPostUpgradeTask
The execution code.- Specified by:
run
in interfaceIPostUpgradeTask
- Throws:
PostUpgradeTaskException
- if some problem occur.
-
getErrorLevel
protected abstract PostUpgradeTaskException.ErrorLevel getErrorLevel()
Returns the error level to use when this task fail.- Returns:
- the error level to use when this task fail.
- Since:
- 7.1.0
-
execute
protected abstract void execute() throws PortalException
Execute the task.- Throws:
PortalException
- Since:
- 7.1.0
-
-