com.atlassian.jira.upgrade.tasks
Class AbstractNotificationSchemeUpgradeTask

java.lang.Object
  extended by com.atlassian.jira.upgrade.AbstractUpgradeTask
      extended by com.atlassian.jira.upgrade.tasks.AbstractNotificationSchemeUpgradeTask
All Implemented Interfaces:
UpgradeTask
Direct Known Subclasses:
UpgradeTask_Build801

public abstract class AbstractNotificationSchemeUpgradeTask
extends AbstractUpgradeTask

This upgrade task adds new scheme entities to the eventIdDestination of all notification schemes in JIRA. It uses the eventIdSource scheme entities as a template for what to create. For example UpgradeTask_Build207 uses this to grant the Comment Edited notification event to all entities who currently have the Issue Commented event.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.upgrade.UpgradeTask
UpgradeTask.Status
 
Constructor Summary
AbstractNotificationSchemeUpgradeTask(NotificationSchemeManager notificationSchemeManager)
           
 
Method Summary
 void doUpgrade(Long eventIdSource, Long eventIdDestination)
           
 
Methods inherited from class com.atlassian.jira.upgrade.AbstractUpgradeTask
addError, addErrors, addErrors, convertToSchemaTableName, doUpgrade, getApplicationProperties, getBuildNumber, getDatabaseConnection, getDatabaseType, getDelegator, getEntityEngine, getErrors, getI18nBean, getOfBizDelegator, getSchemaName, isMSSQL, isMYSQL, isORACLE, isPostgreSQL, isReindexRequired
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.upgrade.UpgradeTask
getShortDescription
 

Constructor Detail

AbstractNotificationSchemeUpgradeTask

public AbstractNotificationSchemeUpgradeTask(NotificationSchemeManager notificationSchemeManager)
Method Detail

doUpgrade

public void doUpgrade(Long eventIdSource,
                      Long eventIdDestination)
               throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException


Copyright © 2002-2014 Atlassian. All Rights Reserved.