Class CSSModule
- java.lang.Object
-
- com.microstrategy.web.app.utils.upgrade.AbstractModule
-
- com.microstrategy.web.app.utils.upgrade.GenericFileModule
-
- com.microstrategy.web.app.utils.upgrade.CSSModule
-
- All Implemented Interfaces:
UpgradeModule
public class CSSModule 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 CSSModule(UpgradeManager manager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetClassName()protected java.lang.StringgetContentType()java.lang.StringgetName()The display name of this module.voidrun(UpgradeInfo info)Method triggered to execute the module's upgrade tasks.protected java.lang.StringupgradeContents(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
-
CSSModule
public CSSModule(UpgradeManager manager)
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:UpgradeModuleThe display name of this module.
-
getClassName
public java.lang.String getClassName()
- Specified by:
getClassNamein classGenericFileModule
-
getContentType
protected java.lang.String getContentType()
- Specified by:
getContentTypein classGenericFileModule
-
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.
-
upgradeContents
protected java.lang.String upgradeContents(UpgradeInfo info, java.lang.String contents, java.io.File f)
- Specified by:
upgradeContentsin classGenericFileModule
-
-