com.atlassian.confluence.upgrade.upgradetask
Class RemoveGlobalAnonymousPermissionsUpgradeTask

java.lang.Object
  extended by com.atlassian.confluence.upgrade.upgradetask.RemoveGlobalAnonymousPermissionsUpgradeTask
All Implemented Interfaces:
UpgradeTask

public class RemoveGlobalAnonymousPermissionsUpgradeTask
extends Object
implements UpgradeTask

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()
           
 String getBuildNumber()
           
 Collection<UpgradeError> getErrors()
           
 String getShortDescription()
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoveGlobalAnonymousPermissionsUpgradeTask

public RemoveGlobalAnonymousPermissionsUpgradeTask()
Method Detail

getBuildNumber

public String getBuildNumber()
Specified by:
getBuildNumber in interface UpgradeTask

getShortDescription

public String getShortDescription()
Specified by:
getShortDescription in interface UpgradeTask

validate

public void validate()
Specified by:
validate in interface UpgradeTask

doUpgrade

public void doUpgrade()
               throws Exception
Specified by:
doUpgrade in interface UpgradeTask
Throws:
Exception

getErrors

public Collection<UpgradeError> getErrors()
Specified by:
getErrors in interface UpgradeTask


Confluence is developed by Atlassian.