Class GenericFileModule
- java.lang.Object
-
- com.microstrategy.web.app.utils.upgrade.AbstractModule
-
- com.microstrategy.web.app.utils.upgrade.GenericFileModule
-
- All Implemented Interfaces:
UpgradeModule
- Direct Known Subclasses:
AspsModule
,CSSModule
,JspsModule
,LayoutFilesModule
,XMLFileModule
public abstract class GenericFileModule extends AbstractModule
- Since:
- MicroStrategy Web 9.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
GenericFileModule.PatternInfo
-
Field Summary
Fields Modifier and Type Field Description protected GenericFileModule.PatternInfo[]
_patterns
-
Constructor Summary
Constructors Constructor Description GenericFileModule(UpgradeManager manager)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.lang.String
getClassName()
protected abstract java.lang.String
getContentType()
java.lang.String
getDescription()
A description of the task the module performs.java.lang.String
getNewCustomPath(UpgradeInfo info, java.lang.String originalPath, java.lang.String baseFolder)
protected void
processDir(UpgradeInfo info, java.io.File directory)
Process the contents of a folder.protected void
setPatterns(GenericFileModule.PatternInfo[] patterns)
protected abstract java.lang.String
upgradeContents(UpgradeInfo info, java.lang.String contents, java.io.File f)
-
Methods inherited from class com.microstrategy.web.app.utils.upgrade.AbstractModule
canChangeEnabled, getRelativePath, getUpgradeManager, isEnabled, run, setEnabled
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.microstrategy.web.app.utils.upgrade.UpgradeModule
getName
-
-
-
-
Field Detail
-
_patterns
protected GenericFileModule.PatternInfo[] _patterns
-
-
Constructor Detail
-
GenericFileModule
public GenericFileModule(UpgradeManager manager)
-
-
Method Detail
-
getClassName
public abstract java.lang.String getClassName()
-
getContentType
protected abstract java.lang.String getContentType()
-
upgradeContents
protected abstract java.lang.String upgradeContents(UpgradeInfo info, java.lang.String contents, java.io.File f)
-
getDescription
public java.lang.String getDescription()
Description copied from interface:UpgradeModule
A description of the task the module performs.
-
setPatterns
protected void setPatterns(GenericFileModule.PatternInfo[] patterns)
-
processDir
protected void processDir(UpgradeInfo info, java.io.File directory)
Process the contents of a folder.
-
getNewCustomPath
public java.lang.String getNewCustomPath(UpgradeInfo info, java.lang.String originalPath, java.lang.String baseFolder)
-
-