com.atlassian.jira.upgrade.tasks
Class UpgradeTask_Build180
java.lang.Object
com.atlassian.jira.upgrade.AbstractUpgradeTask
com.atlassian.jira.upgrade.tasks.UpgradeTask_Build180
- All Implemented Interfaces:
- UpgradeTask
public class UpgradeTask_Build180
- extends AbstractUpgradeTask
Sets the comment visibility restriction to Both Role and Group restriction. This
task is intended only to run as a part of upgrade (not during setup) and this means
that only if JIRA is being upgraded will this setting be made.
As Role comment visibility restriction is the default we want for new installations, we
need this upgrade task to preserve the group visibility for upgraders.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpgradeTask_Build180
public UpgradeTask_Build180()
getBuildNumber
public String getBuildNumber()
- Returns 180
- Specified by:
getBuildNumber
in interface UpgradeTask
- Specified by:
getBuildNumber
in class AbstractUpgradeTask
- Returns:
- 180
doUpgrade
public void doUpgrade()
- Sets the "jira.comment.level.visibility.groups" application property to true.
- 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.