com.atlassian.crowd.upgrade.tasks
Class UpgradeTask212
java.lang.Object
com.atlassian.crowd.upgrade.tasks.UpgradeTask212
- All Implemented Interfaces:
- UpgradeTask
public class UpgradeTask212
- extends java.lang.Object
- implements UpgradeTask
Upgrade task to migrate the serverID from the
database to crowd.cfg.xml.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVER_ID_KEY
public static final java.lang.String SERVER_ID_KEY
- See Also:
- Constant Field Values
UpgradeTask212
public UpgradeTask212()
getBuildNumber
public java.lang.String getBuildNumber()
- Specified by:
getBuildNumber
in interface UpgradeTask
- Returns:
- The build number that this upgrade is applicable to.
getShortDescription
public java.lang.String getShortDescription()
- Description copied from interface:
UpgradeTask
- A short (<50 chars) description of the upgrade action
- Specified by:
getShortDescription
in interface UpgradeTask
- Returns:
- description of upgrade task.
doUpgrade
public void doUpgrade()
- Description copied from interface:
UpgradeTask
- Perform the upgrade.
- Specified by:
doUpgrade
in interface UpgradeTask
getErrors
public java.util.Collection<java.lang.String> 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 interface UpgradeTask
- Returns:
- a Collection of errors. This may return an empty Collection.
setPropertyManager
public void setPropertyManager(PropertyManager propertyManager)
setBootstrapManager
public void setBootstrapManager(CrowdBootstrapManager bootstrapManager)
Copyright © 2010 Atlassian. All Rights Reserved.