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


Method Summary
 java.lang.String getConditionData()
           
 java.lang.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.
 java.lang.Object getNotificationTypeForView()
          Hides whether it is a condition or a notificationType from the UI.
 java.lang.String getRecipient()
           
 java.lang.String getRecipientType()
           
 void setConditionData(java.lang.String conditionData)
           
 void setConditionKey(java.lang.String conditionKey)
           
 void setNotificationManager(NotificationManager manager)
           
 void setNotificationSet(NotificationSet notificationSet)
           
 void setRecipient(java.lang.String recipient)
           
 void setRecipientType(java.lang.String recipientType)
           
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
getId, setId
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

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 © 2010 Atlassian. All Rights Reserved.