Interface NotificationExporter

  • All Known Implementing Classes:
    NotificationExporterImpl

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

      • 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