com.atlassian.bamboo.notification
Interface NotificationRule
- All Superinterfaces:
- BambooObject, java.lang.Comparable
- All Known Implementing Classes:
- NotificationRuleImpl
public interface NotificationRule
- extends BambooObject, java.lang.Comparable
Methods inherited from interface java.lang.Comparable |
compareTo |
getConditionKey
@Nullable
java.lang.String getConditionKey()
setConditionKey
void setConditionKey(java.lang.String conditionKey)
getConditionData
java.lang.String getConditionData()
setConditionData
void setConditionData(java.lang.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
java.lang.Object getNotificationTypeForView()
- Hides whether it is a condition or a notificationType from the UI.
- Returns:
setNotificationManager
void setNotificationManager(NotificationManager manager)
getRecipient
@Nullable
java.lang.String getRecipient()
setRecipient
void setRecipient(java.lang.String recipient)
getRecipientType
@Nullable
java.lang.String getRecipientType()
setRecipientType
void setRecipientType(java.lang.String recipientType)
getNotificationRecipient
@Nullable
NotificationRecipient getNotificationRecipient()
- Returns the populated notification recipient object for the notification rule.
- Returns:
Copyright © 2011 Atlassian. All Rights Reserved.