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 java.lang.Object implements IPostUpgradeTask
Base implementation for post upgrade tasks.- Since:
- 7.1.0
- Version:
- $Revision$ $Date$
-
-
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
-
-