Class UpgradeTask212
java.lang.Object
com.atlassian.crowd.upgrade.tasks.UpgradeTask212
- All Implemented Interfaces:
UpgradeTask
Upgrade task to migrate the serverID from the
database to crowd.cfg.xml.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Perform the upgrade.int
Any errors that occur during the upgrade process will be added to this Collection as Strings.A short (less than 50 chars) description of the upgrade actionvoid
setBootstrapManager
(CrowdBootstrapManager bootstrapManager) void
setPropertyManager
(PropertyManager propertyManager)
-
Field Details
-
SERVER_ID_KEY
- See Also:
-
-
Constructor Details
-
UpgradeTask212
public UpgradeTask212()
-
-
Method Details
-
getBuildNumber
public int getBuildNumber()- Specified by:
getBuildNumber
in interfaceUpgradeTask
- Returns:
- The build number that this upgrade is applicable to.
-
getShortDescription
Description copied from interface:UpgradeTask
A short (less than 50 chars) description of the upgrade action- Specified by:
getShortDescription
in interfaceUpgradeTask
- Returns:
- description of upgrade task.
-
doUpgrade
public void doUpgrade()Description copied from interface:UpgradeTask
Perform the upgrade.- Specified by:
doUpgrade
in interfaceUpgradeTask
-
getErrors
Description copied from interface:UpgradeTask
Any errors that occur during the upgrade process will be added to this Collection as Strings.- Specified by:
getErrors
in interfaceUpgradeTask
- Returns:
- a Collection<String> of errors. This may return an empty Collection.
-
setPropertyManager
-
setBootstrapManager
-