Class AnyNotificationType
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<P>
-
- com.atlassian.bamboo.specs.api.builders.notification.NotificationType<AnyNotificationType,AnyNotificationTypeProperties>
-
- com.atlassian.bamboo.specs.api.builders.notification.AnyNotificationType
-
public class AnyNotificationType extends NotificationType<AnyNotificationType,AnyNotificationTypeProperties>
Represents any notification type.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 Summary
Constructors Constructor Description AnyNotificationType(@NotNull AtlassianModule atlassianPlugin)Specifies a notification condition of a given type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected @NotNull AnyNotificationTypePropertiesbuild()AnyNotificationTypeconditionString(java.lang.String conditionString)Sets configuration string for this condition.
-
-
-
Constructor Detail
-
AnyNotificationType
public AnyNotificationType(@NotNull @NotNull AtlassianModule atlassianPlugin) throws PropertiesValidationExceptionSpecifies a notification condition of a given type.- Parameters:
atlassianPlugin- type of the notification condition identified by its plugin module key- Throws:
PropertiesValidationException- See Also:
AtlassianModule
-
-
Method Detail
-
conditionString
public AnyNotificationType conditionString(java.lang.String conditionString)
Sets configuration string for this condition.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.
-
build
@NotNull protected @NotNull AnyNotificationTypeProperties build()
- Specified by:
buildin classNotificationType<AnyNotificationType,AnyNotificationTypeProperties>
-
-