Class XFailedChainsNotification
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<P>
-
- com.atlassian.bamboo.specs.api.builders.notification.NotificationType<XFailedChainsNotification,XFailedChainsNotificationProperties>
-
- com.atlassian.bamboo.specs.builders.notification.XFailedChainsNotification
-
public class XFailedChainsNotification extends NotificationType<XFailedChainsNotification,XFailedChainsNotificationProperties>
Represents a notification sent when plan consecutively fails for a specified number of times.
-
-
Constructor Summary
Constructors Constructor Description XFailedChainsNotification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected @NotNull XFailedChainsNotificationPropertiesbuild()XFailedChainsNotificationnumberOfFailures(int numberOfFailures)Specifies how many consecutive failures should trigger the notification.
-
-
-
Method Detail
-
numberOfFailures
public XFailedChainsNotification numberOfFailures(int numberOfFailures)
Specifies how many consecutive failures should trigger the notification. Defaults to 1.
-
build
@NotNull protected @NotNull XFailedChainsNotificationProperties build()
- Specified by:
buildin classNotificationType<XFailedChainsNotification,XFailedChainsNotificationProperties>
-
-