com.atlassian.jira.upgrade.tasks
Class UpgradeTask_Build190
java.lang.Object
com.atlassian.jira.upgrade.AbstractUpgradeTask
com.atlassian.jira.upgrade.tasks.UpgradeTask_Build190
- All Implemented Interfaces:
- UpgradeTask
public class UpgradeTask_Build190
- extends AbstractUpgradeTask
This upgrade task checks to see if an export service exists without a backup path set.
If this is the case, we check for the APKeys.JIRA_PATH_BACKUP
property and if it
is set, we set the export service's path to this property.
This is to fix all JIRA instances affected by JRA-12242
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EXPORT_SERVICE_CLASS
public static final String EXPORT_SERVICE_CLASS
- See Also:
- Constant Field Values
UpgradeTask_Build190
public UpgradeTask_Build190(ServiceManager serviceManager,
ApplicationProperties applicationProperties)
getBuildNumber
public String getBuildNumber()
- Returns 190
- Specified by:
getBuildNumber
in interface UpgradeTask
- Specified by:
getBuildNumber
in class AbstractUpgradeTask
- Returns:
- 190
doUpgrade
public void doUpgrade()
- Loops through all the services until one with the right service class is found. We then
check if it has a directory set and if not, we set it to the ap property.
- Specified by:
doUpgrade
in interface UpgradeTask
- Specified by:
doUpgrade
in class AbstractUpgradeTask
getShortDescription
public String getShortDescription()
- Returns a short description of this upgrade task
- Specified by:
getShortDescription
in interface UpgradeTask
- Overrides:
getShortDescription
in class AbstractUpgradeTask
- Returns:
- a short description string
Copyright © 2002-2009 Atlassian. All Rights Reserved.