public class UpgradeTask_Build810 extends Object implements UpgradeTask
UpgradeTask.ScheduleOption, UpgradeTask.Status| Constructor and Description |
|---|
UpgradeTask_Build810(EntityEngine entityEngine) |
| Modifier and Type | Method and Description |
|---|---|
String |
dependsUpon()
Return the Upgrade task id of another upgrade task that must be run prior to this task.
|
void |
doUpgrade(boolean setupMode)
Perform the upgrade.
|
String |
getBuildNumber() |
Collection<String> |
getErrors()
Return any errors that occur.
|
UpgradeTask.ScheduleOption |
getScheduleOption()
Return when this upgrade task can be scheduled.
|
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.
|
public UpgradeTask_Build810(EntityEngine entityEngine)
public String getBuildNumber()
getBuildNumber in interface UpgradeTaskpublic String getShortDescription()
UpgradeTaskgetShortDescription in interface UpgradeTaskpublic boolean isDowngradeTaskRequired()
UpgradeTaskIf 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.
isDowngradeTaskRequired in interface UpgradeTaskpublic void doUpgrade(boolean setupMode)
UpgradeTaskdoUpgrade in interface UpgradeTasksetupMode - Indicating this upgrade task is running during set up.public Collection<String> getErrors()
UpgradeTaskgetErrors in interface UpgradeTaskpublic UpgradeTask.ScheduleOption getScheduleOption()
UpgradeTaskgetScheduleOption in interface UpgradeTask@Nullable public String dependsUpon()
UpgradeTaskdependsUpon in interface UpgradeTaskCopyright © 2002-2015 Atlassian. All Rights Reserved.