Class AbstractNotificationSchemeUpgradeTask

All Implemented Interfaces:
UpgradeTask, com.atlassian.upgrade.spi.UpgradeTask

public abstract class AbstractNotificationSchemeUpgradeTask extends AbstractImmediateUpgradeTask
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.

  • Constructor Details

    • AbstractNotificationSchemeUpgradeTask

      public AbstractNotificationSchemeUpgradeTask(NotificationSchemeManager notificationSchemeManager)
  • Method Details

    • doUpgrade

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