Class CleanUpModule
- java.lang.Object
-
- com.microstrategy.web.app.utils.upgrade.AbstractModule
-
- com.microstrategy.web.app.utils.upgrade.CleanUpModule
-
- All Implemented Interfaces:
UpgradeModule
public class CleanUpModule extends AbstractModule
This module performs general clean-up tasks for the upgrade. It cannot be disabled.- Since:
- MicroStrategy Web 9.0.0
-
-
Constructor Summary
Constructors Constructor Description CleanUpModule(UpgradeManager manager)Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanChangeEnabled()Returnsfalse.java.lang.StringgetDescription()A description of the task the module performs.java.lang.StringgetName()The display name of this module.voidrun(UpgradeInfo info)Method triggered to execute the module's upgrade tasks.-
Methods inherited from class com.microstrategy.web.app.utils.upgrade.AbstractModule
getRelativePath, getUpgradeManager, isEnabled, setEnabled
-
-
-
-
Constructor Detail
-
CleanUpModule
public CleanUpModule(UpgradeManager manager)
Default constructor. Receives the UpgradeManager instantiating this CleanUpModule.
-
-
Method Detail
-
run
public void run(UpgradeInfo info) throws UpgradeException
Description copied from class:AbstractModuleMethod triggered to execute the module's upgrade tasks.- Specified by:
runin classAbstractModule- Parameters:
info- upgrade information.- Throws:
UpgradeException- when an unexpected error that prevents the module to cotinue occurs. Other errors should simply be logged.
-
canChangeEnabled
public boolean canChangeEnabled()
Returnsfalse. Users are not allowed to disable this module.- Specified by:
canChangeEnabledin interfaceUpgradeModule- Overrides:
canChangeEnabledin classAbstractModule
-
getName
public java.lang.String getName()
Description copied from interface:UpgradeModuleThe display name of this module.
-
getDescription
public java.lang.String getDescription()
Description copied from interface:UpgradeModuleA description of the task the module performs.
-
-