public interface UpgradeTask
Please make sure when implementing an upgrade task that you write it in such a way as it can be run again and not corrupt the Crowd data on a second, third run.
Modifier and Type | Method and Description |
---|---|
void |
doUpgrade()
Perform the upgrade.
|
String |
getBuildNumber() |
Collection<String> |
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
|
String getBuildNumber()
String getShortDescription()
void doUpgrade() throws Exception
Exception
- is thrown if any errors occur during the upgrade process.Collection<String> getErrors()
Copyright © 2016 Atlassian. All rights reserved.