com.atlassian.jira.upgrade.tasks
Class UpgradeTask_Build231

java.lang.Object
  extended by com.atlassian.jira.upgrade.AbstractUpgradeTask
      extended by com.atlassian.jira.upgrade.tasks.UpgradeTask_Build231
All Implemented Interfaces:
UpgradeTask

public class UpgradeTask_Build231
extends AbstractUpgradeTask

This upgrade task adds new scheme entities to all permission schemes such that the scheme will have delete all attachement and delete all comment permissions that match what exists for the delete issues permission.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.upgrade.UpgradeTask
UpgradeTask.Status
 
Constructor Summary
UpgradeTask_Build231(PermissionSchemeManager permissionSchemeManager)
           
 
Method Summary
 void doUpgrade()
          Perform the upgrade.
 String getBuildNumber()
          Returns 231 as string
 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

UpgradeTask_Build231

public UpgradeTask_Build231(PermissionSchemeManager permissionSchemeManager)
Method Detail

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

getBuildNumber

public String getBuildNumber()
Returns 231 as string

Specified by:
getBuildNumber in interface UpgradeTask
Specified by:
getBuildNumber in class AbstractUpgradeTask
Returns:
231 as string

doUpgrade

public void doUpgrade()
               throws org.ofbiz.core.entity.GenericEntityException
Description copied from interface: UpgradeTask
Perform the upgrade.

Specified by:
doUpgrade in interface UpgradeTask
Specified by:
doUpgrade in class AbstractUpgradeTask
Throws:
org.ofbiz.core.entity.GenericEntityException


Copyright © 2002-2008 Atlassian. All Rights Reserved.