public interface NotificationRecipientExporter
Modifier and Type | Method and Description |
---|---|
default com.atlassian.bamboo.specs.api.builders.notification.NotificationRecipient<?,?> |
fromYaml(Node recipientsNode)
Read YAML node and return
NotificationRecipient if found. |
String |
importNotificationRecipient(com.atlassian.bamboo.specs.api.model.notification.NotificationRecipientProperties recipient) |
com.atlassian.bamboo.specs.api.builders.notification.NotificationRecipient |
toSpecsEntity(String recipientKey,
String recipientData) |
default Node |
toYaml(com.atlassian.bamboo.specs.api.model.notification.NotificationRecipientProperties recipient)
Produce YAML node and return
NotificationRecipient configuration. |
@NotNull com.atlassian.bamboo.specs.api.builders.notification.NotificationRecipient toSpecsEntity(@NotNull String recipientKey, @NotNull String recipientData)
@NotNull String importNotificationRecipient(com.atlassian.bamboo.specs.api.model.notification.NotificationRecipientProperties recipient)
@Nullable default com.atlassian.bamboo.specs.api.builders.notification.NotificationRecipient<?,?> fromYaml(@NotNull Node recipientsNode)
NotificationRecipient
if found.recipientsNode
- yaml structure with recipients settings@Nullable default Node toYaml(com.atlassian.bamboo.specs.api.model.notification.NotificationRecipientProperties recipient)
NotificationRecipient
configuration.recipient
- settingsNode
which contain representation of Bamboo Specs entity.Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.