Class NotificationExporterImpl

    • Constructor Detail

      • NotificationExporterImpl

        public NotificationExporterImpl()
    • Method Detail

      • toSpecEntity

        @NotNull
        public @NotNull com.atlassian.bamboo.specs.api.builders.notification.Notification toSpecEntity​(@NotNull
                                                                                                       @NotNull NotificationRule notificationRule)
        Specified by:
        toSpecEntity 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