Interface NotificationExporter

All Known Implementing Classes:
NotificationExporterImpl

public interface NotificationExporter
Service to export Bamboo notification definitions to YAML config files.
Since:
5.11
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull List<com.atlassian.bamboo.specs.api.builders.notification.Notification>
    exportNotificationSet(@NotNull NotificationSet notificationSet)
     
    importNotificationRules(@NotNull com.atlassian.bamboo.specs.api.model.notification.NotificationProperties notification, @NotNull com.atlassian.bamboo.specs.api.model.EntityProperties owner)
     
    @NotNull com.atlassian.bamboo.specs.api.builders.notification.Notification
    toSpecEntity(@NotNull NotificationRule notificationRule)
     
    boolean
    updateNotificationSet(@NotNull NotificationSet notificationSet, @NotNull Collection<com.atlassian.bamboo.specs.api.model.notification.NotificationProperties> notifications, @NotNull com.atlassian.bamboo.specs.api.model.EntityProperties owner)
     
  • Method Details

    • toSpecEntity

      @NotNull @NotNull com.atlassian.bamboo.specs.api.builders.notification.Notification toSpecEntity(@NotNull @NotNull NotificationRule notificationRule)
    • exportNotificationSet

      @NotNull @NotNull List<com.atlassian.bamboo.specs.api.builders.notification.Notification> exportNotificationSet(@NotNull @NotNull NotificationSet notificationSet)
    • importNotificationRules

      @NotNull @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)
    • updateNotificationSet

      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)
      Returns:
      true iff notification list is changed