public class AnyNotificationRecipient extends NotificationRecipient<AnyNotificationRecipient,AnyNotificationRecipientProperties>
Since knowledge of internal representation of plugin data is required to properly construct this object, this class should only be used if the specialised implementation is not available.
| Constructor and Description |
|---|
AnyNotificationRecipient(@NotNull AtlassianModule atlassianPlugin)
Specifies a notification recipient of a given type.
|
| Modifier and Type | Method and Description |
|---|---|
protected @NotNull AnyNotificationRecipientProperties |
build() |
AnyNotificationRecipient |
recipientString(String recipientString)
Sets configuration string for this recipient.
|
public AnyNotificationRecipient(@NotNull
@NotNull AtlassianModule atlassianPlugin)
throws PropertiesValidationException
atlassianPlugin - type of the notification condition identified by its plugin module keyPropertiesValidationExceptionAtlassianModulepublic AnyNotificationRecipient recipientString(String recipientString)
The configuration should be in the format used by respective plugin. No syntactical nor semantic validation is performed on the source data. The configuration is stored 'as is' in the Bamboo DB.
@NotNull protected @NotNull AnyNotificationRecipientProperties build()
build in class NotificationRecipient<AnyNotificationRecipient,AnyNotificationRecipientProperties>Copyright © 2024 Atlassian Software Systems Pty Ltd. All rights reserved.