Class AspsModule
- java.lang.Object
-
- com.microstrategy.web.app.utils.upgrade.AbstractModule
-
- com.microstrategy.web.app.utils.upgrade.GenericFileModule
-
- com.microstrategy.web.app.utils.upgrade.AspsModule
-
- All Implemented Interfaces:
UpgradeModule
public class AspsModule extends GenericFileModule
- Since:
- MicroStrategy Web 9.0.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.microstrategy.web.app.utils.upgrade.GenericFileModule
GenericFileModule.PatternInfo
-
-
Field Summary
-
Fields inherited from class com.microstrategy.web.app.utils.upgrade.GenericFileModule
_patterns
-
-
Constructor Summary
Constructors Constructor Description AspsModule(UpgradeManager manager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getClassName()
protected java.lang.String
getContentType()
java.lang.String
getName()
The display name of this module.void
run(UpgradeInfo info)
Method triggered to execute the module's upgrade tasks.protected java.lang.String
upgradeContents(UpgradeInfo info, java.lang.String contents, java.io.File f)
-
Methods inherited from class com.microstrategy.web.app.utils.upgrade.GenericFileModule
getDescription, getNewCustomPath, processDir, setPatterns
-
Methods inherited from class com.microstrategy.web.app.utils.upgrade.AbstractModule
canChangeEnabled, getRelativePath, getUpgradeManager, isEnabled, setEnabled
-
-
-
-
Constructor Detail
-
AspsModule
public AspsModule(UpgradeManager manager)
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:UpgradeModule
The display name of this module.
-
getContentType
protected java.lang.String getContentType()
- Specified by:
getContentType
in classGenericFileModule
-
run
public void run(UpgradeInfo info) throws UpgradeException
Description copied from class:AbstractModule
Method triggered to execute the module's upgrade tasks.- Specified by:
run
in classAbstractModule
- Parameters:
info
- upgrade information.- Throws:
UpgradeException
- when an unexpected error that prevents the module to cotinue occurs. Other errors should simply be logged.
-
getClassName
public java.lang.String getClassName()
- Specified by:
getClassName
in classGenericFileModule
-
upgradeContents
protected java.lang.String upgradeContents(UpgradeInfo info, java.lang.String contents, java.io.File f)
- Specified by:
upgradeContents
in classGenericFileModule
-
-