Class NotificationExporterImpl

java.lang.Object
com.atlassian.bamboo.configuration.external.exporters.NotificationExporterImpl
All Implemented Interfaces:
NotificationExporter

public class NotificationExporterImpl extends Object implements NotificationExporter
  • Constructor Details

    • NotificationExporterImpl

      public NotificationExporterImpl()
  • Method Details

    • toSpecEntity

      @NotNull public @NotNull com.atlassian.bamboo.specs.api.builders.notification.Notification toSpecEntity(@NotNull @NotNull NotificationRule notificationRule)
      Specified by:
      toSpecEntity in interface NotificationExporter
    • exportNotificationSet

      @NotNull public @NotNull List<com.atlassian.bamboo.specs.api.builders.notification.Notification> exportNotificationSet(@NotNull @NotNull NotificationSet notificationSet)
      Specified by:
      exportNotificationSet in interface NotificationExporter
    • importNotificationRules

      @NotNull public @NotNull List<NotificationRule> importNotificationRules(@NotNull @NotNull com.atlassian.bamboo.specs.api.model.notification.NotificationProperties notification, @NotNull @NotNull com.atlassian.bamboo.specs.api.model.EntityProperties owner)
      Specified by:
      importNotificationRules in interface NotificationExporter
    • updateNotificationSet

      public boolean updateNotificationSet(@NotNull @NotNull NotificationSet notificationSet, @NotNull @NotNull Collection<com.atlassian.bamboo.specs.api.model.notification.NotificationProperties> notifications, @NotNull @NotNull com.atlassian.bamboo.specs.api.model.EntityProperties owner)
      Specified by:
      updateNotificationSet in interface NotificationExporter
      Returns:
      true iff notification list is changed