com.atlassian.jira.upgrade.tasks
Class AbstractNotificationSchemeUpgradeTask
java.lang.Object
com.atlassian.jira.upgrade.AbstractUpgradeTask
com.atlassian.jira.upgrade.tasks.AbstractNotificationSchemeUpgradeTask
- All Implemented Interfaces:
- UpgradeTask
- Direct Known Subclasses:
- UpgradeTask_Build207, UpgradeTask_Build258
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.
Methods inherited from class com.atlassian.jira.upgrade.AbstractUpgradeTask |
addError, addErrors, addErrors, convertToSchemaTableName, doUpgrade, getApplicationProperties, getBuildNumber, getDatabaseConnection, getDelegator, getErrors, getI18nBean, getShortDescription |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractNotificationSchemeUpgradeTask
public AbstractNotificationSchemeUpgradeTask(NotificationSchemeManager notificationSchemeManager)
doUpgrade
public void doUpgrade(Long eventIdSource,
Long eventIdDestination)
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
Copyright © 2002-2011 Atlassian. All Rights Reserved.