com.atlassian.crowd.upgrade.tasks
Class UpgradeTask211
java.lang.Object
com.atlassian.crowd.upgrade.tasks.UpgradeTask211
- All Implemented Interfaces:
- UpgradeTask
public class UpgradeTask211
- extends java.lang.Object
- implements UpgradeTask
This task will add the default license user count to Crowd, '0'
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_TOTAL
protected static final int DEFAULT_TOTAL
- See Also:
- Constant Field Values
UpgradeTask211
public UpgradeTask211()
UpgradeTask211
public UpgradeTask211(PropertyManager propertyManager)
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()
throws java.lang.Exception
- Description copied from interface:
UpgradeTask
- Perform the upgrade.
- Specified by:
doUpgrade
in interface UpgradeTask
- Throws:
java.lang.Exception
- is thrown if any errors occur during the upgrade process.
getErrors
public java.util.Collection 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)
Copyright © 2010 Atlassian. All Rights Reserved.