public class

CopyFilesModule

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

Class Overview

This module copies new files from the old customization to the new target plugin. The target folder is calculated as follows:

  1. If the file existed in the base Microstrategy Web version, it will not be copied by the upgrade.
  2. If the file was processed by another module, this module defines the new target location and therefore it will be copied into that location.
  3. If the file ends with a certain file extension that Microstrategy customization best-practices recommends to locate in a particular folder, the file will be copied to that folder, for example, all files with ".css" extension are copied to the "/styles/" folder.
  4. All other files are copied to the same relative location they were found in the base version.

Summary

Public Constructors
CopyFilesModule(UpgradeManager manager)
Default constructor.
Public Methods
String getDescription()
String getName()
void run(UpgradeInfo info)
Method triggered to execute the module's upgrade tasks.
[Expand]
Inherited Methods
From class com.microstrategy.web.app.utils.upgrade.AbstractModule
From class java.lang.Object
From interface com.microstrategy.web.app.utils.upgrade.UpgradeModule

Public Constructors

public CopyFilesModule (UpgradeManager manager)

Default constructor. Receives the UpgradeManager instantiating this AbstractModule.

Public Methods

public String getDescription ()

public String getName ()

public void run (UpgradeInfo info)

Method triggered to execute the module's upgrade tasks.

Parameters
info upgrade information.