com.atlassian.bamboo.notification
Interface NotificationRule

All Superinterfaces:
BambooIdProvider, BambooObject, Comparable<NotificationRule>
All Known Implementing Classes:
NotificationRuleImpl

public interface NotificationRule
extends BambooObject, Comparable<NotificationRule>


Method Summary
 String getConditionData()
           
 String getConditionKey()
           
 NotificationRecipient getNotificationRecipient()
          Returns the populated notification recipient object for the notification rule.
 NotificationSet getNotificationSet()
           
 NotificationType getNotificationType()
          Retrieves the populated notification type object for the notification rule Note that this may be null if is a legacy notification.
 Object getNotificationTypeForView()
          Hides whether it is a condition or a notificationType from the UI.
 String getRecipient()
           
 String getRecipientType()
           
 void setConditionData(String conditionData)
           
 void setConditionKey(String conditionKey)
           
 void setNotificationManager(NotificationManager manager)
           
 void setNotificationSet(NotificationSet notificationSet)
           
 void setRecipient(String recipient)
           
 void setRecipientType(String recipientType)
           
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
 
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

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.