|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.upgrade.upgradetask.RemoveGlobalAnonymousPermissionsUpgradeTask
public class RemoveGlobalAnonymousPermissionsUpgradeTask
Task to make sure that the CREATESPACE and ADMINISTRATECONFLUENCE global permissions are removed for anonymous users. (Used in the upgrade to 1.5.)
Constructor Summary | |
---|---|
RemoveGlobalAnonymousPermissionsUpgradeTask()
|
Method Summary | |
---|---|
void |
doUpgrade()
Perform the upgrade. |
String |
getBuildNumber()
|
Collection<UpgradeError> |
getErrors()
Return any errors that occur. |
String |
getShortDescription()
A short (<50 chars) description of the upgrade action |
void |
validate()
Validates that this upgrade task can be performed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoveGlobalAnonymousPermissionsUpgradeTask()
Method Detail |
---|
public String getBuildNumber()
getBuildNumber
in interface UpgradeTask
public String getShortDescription()
UpgradeTask
getShortDescription
in interface UpgradeTask
public void validate()
UpgradeTask
validate
in interface UpgradeTask
public void doUpgrade() throws Exception
UpgradeTask
doUpgrade
in interface UpgradeTask
Exception
public Collection<UpgradeError> getErrors()
UpgradeTask
UpgradeError
.
getErrors
in interface UpgradeTask
UpgradeError
objects, sometimes null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |