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(AtlassianModule atlassianPlugin)
Specifies a notification recipient of a given type.
|
Modifier and Type | Method and Description |
---|---|
protected AnyNotificationRecipientProperties |
build() |
AnyNotificationRecipient |
recipientString(String recipientString)
Sets configuration string for this recipient.
|
public AnyNotificationRecipient(@NotNull AtlassianModule atlassianPlugin) throws PropertiesValidationException
atlassianPlugin
- type of the notification condition identified by its plugin module keyPropertiesValidationException
AtlassianModule
public 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 AnyNotificationRecipientProperties build()
build
in class NotificationRecipient<AnyNotificationRecipient,AnyNotificationRecipientProperties>
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.