|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.upgrade.AbstractUpgradeTask com.atlassian.jira.upgrade.tasks.UpgradeTask_Build180
public class UpgradeTask_Build180
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.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.atlassian.jira.upgrade.UpgradeTask |
---|
UpgradeTask.Status |
Constructor Summary | |
---|---|
UpgradeTask_Build180()
|
Method Summary | |
---|---|
void |
doUpgrade()
Sets the "jira.comment.level.visibility.groups" application property to true. |
java.lang.String |
getBuildNumber()
Returns 180 |
java.lang.String |
getShortDescription()
Returns a short description of this upgrade task |
Methods inherited from class com.atlassian.jira.upgrade.AbstractUpgradeTask |
---|
addError, addErrors, addErrors, getApplicationProperties, getDelegator, getErrors, getI18nBean |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UpgradeTask_Build180()
Method Detail |
---|
public java.lang.String getBuildNumber()
getBuildNumber
in interface UpgradeTask
getBuildNumber
in class AbstractUpgradeTask
public void doUpgrade()
doUpgrade
in interface UpgradeTask
doUpgrade
in class AbstractUpgradeTask
public java.lang.String getShortDescription()
getShortDescription
in interface UpgradeTask
getShortDescription
in class AbstractUpgradeTask
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |