Class Overview
This module copies new files from the old customization to the new target plugin.
The target folder is calculated as follows:
- If the file existed in the base Microstrategy Web version, it will not be copied by the upgrade.
- If the file was processed by another module, this module defines the new target location
and therefore it will be copied into that location.
- 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.
- All other files are copied to the same relative location they were found in the base version.
Summary
[Expand]
Inherited Methods |
From class
com.microstrategy.web.app.utils.upgrade.AbstractModule
boolean
|
canChangeEnabled()
Default implementation, returns true .
|
String
|
getRelativePath(String baseDir, File file)
Helper method that calculates the relative path of file , based on the
given baseDir .
|
UpgradeManager
|
getUpgradeManager()
Returns the UpgradeManager that created this AbstractModule instance.
|
boolean
|
isEnabled()
Whether the module is enabled.
|
abstract
void
|
run(UpgradeInfo info)
Method triggered to execute the module's upgrade tasks.
|
void
|
setEnabled(boolean value)
Method to change the enabled status of the module.
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
com.microstrategy.web.app.utils.upgrade.UpgradeModule
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 Constructors
public
CopyFilesModule
(UpgradeManager manager)
Default constructor. Receives the UpgradeManager instantiating this AbstractModule.
Public Methods
public
String
getDescription
()
public
void
run
(UpgradeInfo info)
Method triggered to execute the module's upgrade tasks.
Parameters
info |
upgrade information. |