public class UpgradeTask_Build72002 extends AbstractDelayableUpgradeTask
AvatarTranscoder
.
This is needed as we have updated the set of issue-type-icons and SVG-files are only
converted to PNG-files of various sizes once. From there on it simply does a lookup of
the PNG-file and returns it. We therefore need to wipe out all the issue-type-icons (PNGs)
to be sure the PNG-files are in sync with the new SVG-files.UpgradeTask.ScheduleOption, UpgradeTask.Status
Constructor and Description |
---|
UpgradeTask_Build72002(AvatarManager avatarManager) |
Modifier and Type | Method and Description |
---|---|
void |
doUpgrade(boolean setupMode)
Perform the upgrade.
|
int |
getBuildNumber() |
String |
getShortDescription()
A short (<50 chars) description of the upgrade action
|
boolean |
isDowngradeTaskRequired()
Flag to claim whether this upgrade task needs an explicit downgrade task to reverse the data changes.
|
getScheduleOption
addError, addErrors, addErrors, convertToSchemaTableName, dependsUpon, getApplicationProperties, getDatabaseConnection, getDatabaseType, getDelegator, getEntityEngine, getErrors, getI18nBean, getOfBizDelegator, getReindexRequestService, getSchemaName, isMSSQL, isMYSQL, isORACLE, isPostgreSQL, runUpgrade
public UpgradeTask_Build72002(AvatarManager avatarManager)
public int getBuildNumber()
public String getShortDescription()
UpgradeTask
public void doUpgrade(boolean setupMode) throws Exception
UpgradeTask
setupMode
- Indicating this upgrade task is running during set up.Exception
public boolean isDowngradeTaskRequired()
UpgradeTask
If a downgrade is a simple no-op then return false, and JIRA will ignore these changes during a downgrade.
If you need to actually undo the changes made here then declare true and add a Downgrade Task to the bug fix branch.
Copyright © 2002-2018 Atlassian. All Rights Reserved.