com.atlassian.jira.upgrade.tasks
Class UpgradeTask_Build186
java.lang.Object
com.atlassian.jira.upgrade.AbstractUpgradeTask
com.atlassian.jira.upgrade.tasks.UpgradeTask_Build186
- All Implemented Interfaces:
- UpgradeTask
public class UpgradeTask_Build186
- extends AbstractUpgradeTask
This task performs a reindexAll. This is due to the problems associated with:
http://jira.atlassian.com/browse/JRA-11861
If the re-index all is performed the log file is periodically updated with the progress.
This Upgrade Task should not be run when JIRA is being setup (i.e. installed afresh).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpgradeTask_Build186
public UpgradeTask_Build186(IssueIndexManager indexManager)
- Constructor.
- Parameters:
indexManager - must not be null.
- Throws:
NullPointerException - if the IssueIndexManager is null
getBuildNumber
public String getBuildNumber()
- Specified by:
getBuildNumber in interface UpgradeTask- Specified by:
getBuildNumber in class AbstractUpgradeTask
- Returns:
- The build number that this upgrade is applicable to
doUpgrade
public void doUpgrade(boolean setupMode)
- Should NOT fail (i.e. throw any Exceptions). If an exception occurs, the indexes are probably screwed and the
users will need to do a full reindexAll anyway.
- Specified by:
doUpgrade in interface UpgradeTask- Specified by:
doUpgrade in class AbstractUpgradeTask
- Parameters:
setupMode -
getShortDescription
public String getShortDescription()
- Description copied from interface:
UpgradeTask
- A short (<50 chars) description of the upgrade action
- Specified by:
getShortDescription in interface UpgradeTask- Overrides:
getShortDescription in class AbstractUpgradeTask
Copyright © 2002-2011 Atlassian. All Rights Reserved.