public class

UpgradeInfo

extends Object
java.lang.Object
   ↳ com.microstrategy.web.app.utils.upgrade.UpgradeInfo

Class Overview

This class provides the upgrade process the necessary information to conduct the upgrade.

Summary

Public Constructors
UpgradeInfo(String baseFolder, String customFolder, String targetFolder, String plugInName)
Default constructor.
Public Methods
FileLoader getBaseFileLoader()
Returns a FileLoader whose basePath is the base folder.
String getBaseFolder()
Returns the location (absolute path) of the Microstrategy Web version with no customizations being upgraded
ApplicationParameters getBaseParameters()
Returns the ApplicationParameters (e.g.
FileLoader getCustomizationFileLoader()
Returns a FileLoader whose basePath is the customized Microstrategy Web version folder.
String getCustomizationFolder()
Returns the location (absolute path) of the customized Microstrategy Web version being upgraded.
ApplicationParameters getCustomizationParameters()
Returns the ApplicationParameters (e.g.
String getPlugInName()
FileLoader getTargetFileLoader()
Returns a FileLoader whose basePath is the new Microstrategy Web version folder.
ApplicationParameters getTargetParameters()
Returns the ApplicationParameters (e.g.
CustomizationInfo getTargetPlugIn()
Returns the CustomizationInfo where the upgrade will be saved into.
String getTargtFolder()
Returns the location (absolute path) of the new Microstrategy Web version.
static AbstractConfigurationElement loadConfig(String relativePath, String basePath, Class c)
Loads an xml configuration file from the given parameters.
String toString()
Overrides toSTring to provide meaningful debugging information.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public UpgradeInfo (String baseFolder, String customFolder, String targetFolder, String plugInName)

Default constructor. Defines all parameter required for an upgrade.

Parameters
baseFolder The location (absolute path) of the Microstrategy Web version with no customizations being upgraded.
customFolder The location (absolute path) of the customized Microstrategy Web version being upgraded.
targetFolder The location (absolute path) of the new Microstrategy Web version.
plugInName String

Public Methods

public FileLoader getBaseFileLoader ()

Returns a FileLoader whose basePath is the base folder.

public String getBaseFolder ()

Returns the location (absolute path) of the Microstrategy Web version with no customizations being upgraded

public ApplicationParameters getBaseParameters ()

Returns the ApplicationParameters (e.g. web.xml) as defined in the base Microstrategy Web version.

public FileLoader getCustomizationFileLoader ()

Returns a FileLoader whose basePath is the customized Microstrategy Web version folder.

public String getCustomizationFolder ()

Returns the location (absolute path) of the customized Microstrategy Web version being upgraded.

public ApplicationParameters getCustomizationParameters ()

Returns the ApplicationParameters (e.g. web.xml) as defined in the customized Microstrategy Web version being upgraded.

public String getPlugInName ()

public FileLoader getTargetFileLoader ()

Returns a FileLoader whose basePath is the new Microstrategy Web version folder.

public ApplicationParameters getTargetParameters ()

Returns the ApplicationParameters (e.g. web.xml) as defined in the new Microstrategy Web version.

public CustomizationInfo getTargetPlugIn ()

Returns the CustomizationInfo where the upgrade will be saved into.

public String getTargtFolder ()

Returns the location (absolute path) of the new Microstrategy Web version.

Returns
  • String

public static AbstractConfigurationElement loadConfig (String relativePath, String basePath, Class c)

Loads an xml configuration file from the given parameters.

Parameters
relativePath The relative path of the xml file (e.g.: /WEB-INF/web.xml)
basePath The absolute path used as the root to resolve the relative path location (e.g.: C:\Program Files\Microstrategy\Web)
c The AbstractConfigurationElement class that represents the root node of the xml.

public String toString ()

Overrides toSTring to provide meaningful debugging information.