Class NotificationExporterImpl
java.lang.Object
com.atlassian.bamboo.configuration.external.exporters.NotificationExporterImpl
- All Implemented Interfaces:
NotificationExporter
-
Constructor Summary
Constructors -
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.NotificationtoSpecEntity(@NotNull NotificationRule notificationRule) booleanupdateNotificationSet(@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:
toSpecEntityin interfaceNotificationExporter
-
exportNotificationSet
@NotNull public @NotNull List<com.atlassian.bamboo.specs.api.builders.notification.Notification> exportNotificationSet(@NotNull @NotNull NotificationSet notificationSet) - Specified by:
exportNotificationSetin 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:
importNotificationRulesin 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:
updateNotificationSetin interfaceNotificationExporter- Returns:
- true iff notification list is changed
-