Class NotificationExporterImpl
java.lang.Object
com.atlassian.bamboo.configuration.external.exporters.NotificationExporterImpl
- All Implemented Interfaces:
NotificationExporter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull List<com.atlassian.bamboo.specs.api.builders.notification.Notification>
exportNotificationSet
(@NotNull NotificationSet notificationSet) @NotNull List<NotificationRule>
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)
-
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 interfaceNotificationExporter
-
exportNotificationSet
@NotNull public @NotNull List<com.atlassian.bamboo.specs.api.builders.notification.Notification> exportNotificationSet(@NotNull @NotNull NotificationSet notificationSet) - Specified by:
exportNotificationSet
in interfaceNotificationExporter
-
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 interfaceNotificationExporter
-
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 interfaceNotificationExporter
- Returns:
- true iff notification list is changed
-