Class NotificationExporterImpl
- java.lang.Object
-
- com.atlassian.bamboo.configuration.external.exporters.NotificationExporterImpl
-
- All Implemented Interfaces:
NotificationExporter
public class NotificationExporterImpl extends Object implements NotificationExporter
-
-
Constructor Summary
Constructors Constructor Description NotificationExporterImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @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)
-
-
-
Method Detail
-
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
-
-