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
ConstructorsConstructorDescriptionAnyNotificationType(@NotNull AtlassianModule atlassianPlugin) Specifies a notification condition of a given type. -
Method Summary
Modifier and TypeMethodDescriptionprotected @NotNull AnyNotificationTypePropertiesbuild()conditionString(String conditionString) Sets configuration string for this condition.
-
Constructor Details
-
AnyNotificationType
public AnyNotificationType(@NotNull @NotNull AtlassianModule atlassianPlugin) throws PropertiesValidationException Specifies a notification condition of a given type.- Parameters:
atlassianPlugin- type of the notification condition identified by its plugin module key- Throws:
PropertiesValidationException- See Also:
-
-
Method Details
-
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
- Specified by:
buildin classNotificationType<AnyNotificationType,AnyNotificationTypeProperties>
-