com.microstrategy.web.app.utils.upgrade.UpgradeModule |
Known Indirect Subclasses
AbstractModule,
AbstractXMLConfigModule,
AspsModule,
CSSModule,
CleanUpModule,
CopyFilesModule,
EventsModule,
GenericFileModule,
JspsModule,
LayoutFilesModule,
LocalesModule,
PageConfigsModule,
PropertiesModule,
StyleCatalogModule,
WebXMLModule,
XMLFileModule
AbstractModule |
This is the based implementation of an UpgradeModule . |
AbstractXMLConfigModule |
Extends AbstractModule by providing specific support to upgrade xml configuration files. |
AspsModule |
|
CSSModule |
|
CleanUpModule |
This module performs general clean-up tasks for the upgrade. |
CopyFilesModule |
This module copies new files from the old customization to the new target plugin. |
EventsModule |
This module is responsible to identify changes from custom event files (that is, those specified by the
appBeanEventsFile and the mdBeanEventsFile parameters)
and merge them into a single customized events.xml file that will be used by the application. |
GenericFileModule |
|
JspsModule |
|
LayoutFilesModule |
|
LocalesModule |
This module is responsible to upgrade the locales.xml file. |
PageConfigsModule |
This module is responsible for upgrading all page configFiles , include
pageConfig.xml and Admin_pageConfig.xml. |
PropertiesModule |
This module is responsible for identifying deltas in all ".properties" files that
are inside /WEB-INF/classes and save those deltas into the target plugin. |
StyleCatalogModule |
This module is responsible for upgrading the stylecatlog.xml. |
WebXMLModule |
This module is responsible to identify changes in the web.xml
and upgrading them into a microstrategy.xml file. |
XMLFileModule |
|
|
Class Overview
This interface represents a single upgrade module.
A module represents a specialized upgrade tasks that is self-contained
and that can work independently from other modules.
Summary
Public Methods |
abstract
boolean
|
canChangeEnabled()
Determines whether the user can change the enabled status of this module.
|
abstract
String
|
getDescription()
A description of the task the module performs.
|
abstract
String
|
getName()
The display name of this module.
|
abstract
boolean
|
isEnabled()
Whether the module is enabled.
|
abstract
void
|
setEnabled(boolean value)
Method to change the enabled status of the module.
|
Public Methods
public
abstract
boolean
canChangeEnabled
()
Determines whether the user can change the enabled status of this module.
If this method returns false
invoking setEnabled(boolean)
throws an IllegalArgumentException
public
abstract
String
getDescription
()
A description of the task the module performs.
public
abstract
String
getName
()
The display name of this module.
public
abstract
boolean
isEnabled
()
Whether the module is enabled. If not enabled, the module will not
be executed during the upgrade.
public
abstract
void
setEnabled
(boolean value)
Method to change the enabled status of the module. This method can only
be invoked if the canChangeEnabled()
return true
,
otherwise it will throw an IllegalArgumentException