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