com.atlassian.bamboo.notification
Interface NotificationRule
- All Superinterfaces:
- BambooIdProvider, BambooObject, Comparable<NotificationRule>
- All Known Implementing Classes:
- NotificationRuleImpl
public interface NotificationRule
- extends BambooObject, Comparable<NotificationRule>
getConditionKey
@Nullable
String getConditionKey()
setConditionKey
void setConditionKey(String conditionKey)
getConditionData
String getConditionData()
setConditionData
void setConditionData(String conditionData)
getNotificationSet
NotificationSet getNotificationSet()
setNotificationSet
void setNotificationSet(NotificationSet notificationSet)
getNotificationType
@Nullable
NotificationType getNotificationType()
- Retrieves the populated notification type object for the notification rule
Note that this may be null if is a legacy notification. If null, try getCondition instead.
- Returns:
getNotificationTypeForView
Object getNotificationTypeForView()
- Hides whether it is a condition or a notificationType from the UI.
- Returns:
setNotificationManager
void setNotificationManager(NotificationManager manager)
getRecipient
@Nullable
String getRecipient()
setRecipient
void setRecipient(String recipient)
getRecipientType
@Nullable
String getRecipientType()
setRecipientType
void setRecipientType(String recipientType)
getNotificationRecipient
@Nullable
NotificationRecipient getNotificationRecipient()
- Returns the populated notification recipient object for the notification rule.
- Returns:
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.