public class UpgradeTask211 extends Object implements UpgradeTask
Modifier and Type | Field and Description |
---|---|
protected static int |
DEFAULT_TOTAL |
Constructor and Description |
---|
UpgradeTask211() |
UpgradeTask211(PropertyManager propertyManager) |
Modifier and Type | Method and Description |
---|---|
void |
doUpgrade()
Perform the upgrade.
|
int |
getBuildNumber() |
Collection |
getErrors()
Any errors that occur during the upgrade process will be added to this Collection as Strings.
|
String |
getShortDescription()
A short (less than 50 chars) description of the upgrade action
|
void |
setPropertyManager(PropertyManager propertyManager) |
protected static final int DEFAULT_TOTAL
public UpgradeTask211()
public UpgradeTask211(PropertyManager propertyManager)
public int getBuildNumber()
getBuildNumber
in interface UpgradeTask
public String getShortDescription()
UpgradeTask
getShortDescription
in interface UpgradeTask
public void doUpgrade() throws Exception
UpgradeTask
doUpgrade
in interface UpgradeTask
Exception
- is thrown if any errors occur during the upgrade process.public Collection getErrors()
UpgradeTask
getErrors
in interface UpgradeTask
public void setPropertyManager(PropertyManager propertyManager)
Copyright © 2021 Atlassian. All rights reserved.