|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.upgrade.AbstractUpgradeTask
com.atlassian.confluence.upgrade.upgradetask.UserStatusPermissionUpgradeTask
public class UserStatusPermissionUpgradeTask
This upgrade task gives all users with the 'Use Confluence' permission the 'Update Status' permission
| Constructor Summary | |
|---|---|
UserStatusPermissionUpgradeTask(SpacePermissionManager spacePermissionManager)
|
|
| Method Summary | |
|---|---|
void |
doUpgrade()
Perform the upgrade. |
String |
getBuildNumber()
|
String |
getShortDescription()
A short (<50 chars) description of the upgrade action |
void |
validate()
This is only implemented in this abstract base class for the convenience of the large number of older upgrade tasks. |
| Methods inherited from class com.atlassian.confluence.upgrade.AbstractUpgradeTask |
|---|
addAllErrors, addError, addError, getConstraint, getErrors, setBuildNumber |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.atlassian.confluence.upgrade.UpgradeTask |
|---|
getConstraint, getErrors |
| Constructor Detail |
|---|
public UserStatusPermissionUpgradeTask(SpacePermissionManager spacePermissionManager)
| Method Detail |
|---|
public String getBuildNumber()
getBuildNumber in interface UpgradeTaskgetBuildNumber in class AbstractUpgradeTaskpublic String getShortDescription()
UpgradeTask
getShortDescription in interface UpgradeTaskgetShortDescription in class AbstractUpgradeTaskpublic void validate()
AbstractUpgradeTaskThis is only implemented in this abstract base class for the convenience of the large number of older upgrade tasks.
If you are implementing a new UpgradeTask you must give some consideration to implementing validation as well.
validate in interface UpgradeTaskvalidate in class AbstractUpgradeTask
public void doUpgrade()
throws Exception
UpgradeTask
doUpgrade in interface UpgradeTaskException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||