com.atlassian.jira.upgrade.tasks
Class UpgradeTask_Build206
java.lang.Object
com.atlassian.jira.upgrade.AbstractUpgradeTask
com.atlassian.jira.upgrade.tasks.AbstractReindexUpgradeTask
com.atlassian.jira.upgrade.tasks.UpgradeTask_Build206
- All Implemented Interfaces:
- UpgradeTask
public class UpgradeTask_Build206
- extends AbstractReindexUpgradeTask
Upgrade task to copy all the comments create date to updated date and authors to udpateAuthors.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpgradeTask_Build206
public UpgradeTask_Build206(OfBizDelegator ofBizDelegator,
ApplicationProperties applicationProperties,
IssueIndexManager indexManager)
getShortDescription
public String getShortDescription()
- Returns a short description of this upgrade task
- Specified by:
getShortDescription
in interface UpgradeTask
- Overrides:
getShortDescription
in class AbstractReindexUpgradeTask
- Returns:
- a short description string
getBuildNumber
public String getBuildNumber()
- Returns 206 as string
- Specified by:
getBuildNumber
in interface UpgradeTask
- Specified by:
getBuildNumber
in class AbstractUpgradeTask
- Returns:
- 206 as string
doUpgrade
public void doUpgrade()
throws Exception
- Copies the values from author column over to updatedauthor column and
values from created column over to updated column for all records in
DefaultCommentManager.COMMENT_ENTITY
table where type=comment.
- Specified by:
doUpgrade
in interface UpgradeTask
- Overrides:
doUpgrade
in class AbstractReindexUpgradeTask
- Throws:
Exception
Copyright © 2002-2009 Atlassian. All Rights Reserved.