com.atlassian.bamboo.notification
Class NotificationRuleImpl

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.bamboo.core.BambooEntityObject
          extended by com.atlassian.bamboo.notification.NotificationRuleImpl
All Implemented Interfaces:
BambooIdProvider, BambooObject, NotificationRule, java.lang.Cloneable, java.lang.Comparable

public class NotificationRuleImpl
extends BambooEntityObject
implements NotificationRule


Field Summary
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Constructor Summary
NotificationRuleImpl()
           
 
Method Summary
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object o)
           
 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()
          Hack until i get the ui sorted out.
 java.lang.String getRecipient()
           
 java.lang.String getRecipientType()
           
 int hashCode()
           
 void setConditionData(java.lang.String conditionData)
           
 void setConditionKey(java.lang.String conditionKey)
           
 void setNotificationManager(NotificationManager notificationManager)
           
 void setNotificationSet(NotificationSet notificationSet)
           
 void setRecipient(java.lang.String recipient)
           
 void setRecipientType(java.lang.String recipientType)
           
 
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject
getId, setId
 
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
 
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
 

Constructor Detail

NotificationRuleImpl

public NotificationRuleImpl()
Method Detail

getRecipient

@Nullable
public java.lang.String getRecipient()
Specified by:
getRecipient in interface NotificationRule

setRecipient

public void setRecipient(java.lang.String recipient)
Specified by:
setRecipient in interface NotificationRule

getRecipientType

@Nullable
public java.lang.String getRecipientType()
Specified by:
getRecipientType in interface NotificationRule

setRecipientType

public void setRecipientType(java.lang.String recipientType)
Specified by:
setRecipientType in interface NotificationRule

getConditionKey

@Nullable
public java.lang.String getConditionKey()
Specified by:
getConditionKey in interface NotificationRule

setConditionKey

public void setConditionKey(java.lang.String conditionKey)
Specified by:
setConditionKey in interface NotificationRule

getConditionData

@NotNull
public java.lang.String getConditionData()
Specified by:
getConditionData in interface NotificationRule

setConditionData

public void setConditionData(java.lang.String conditionData)
Specified by:
setConditionData in interface NotificationRule

getNotificationSet

public NotificationSet getNotificationSet()
Specified by:
getNotificationSet in interface NotificationRule

setNotificationSet

public void setNotificationSet(NotificationSet notificationSet)
Specified by:
setNotificationSet in interface NotificationRule

getNotificationRecipient

public NotificationRecipient getNotificationRecipient()
Description copied from interface: NotificationRule
Returns the populated notification recipient object for the notification rule.

Specified by:
getNotificationRecipient in interface NotificationRule
Returns:

getNotificationType

@Nullable
public NotificationType getNotificationType()
Description copied from interface: NotificationRule
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.

Specified by:
getNotificationType in interface NotificationRule
Returns:

getNotificationTypeForView

@Nullable
public java.lang.Object getNotificationTypeForView()
Hack until i get the ui sorted out.

Specified by:
getNotificationTypeForView in interface NotificationRule
Returns:

setNotificationManager

public void setNotificationManager(NotificationManager notificationManager)
Specified by:
setNotificationManager in interface NotificationRule

hashCode

public int hashCode()
Overrides:
hashCode in class com.atlassian.core.bean.EntityObject

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class com.atlassian.core.bean.EntityObject

compareTo

public int compareTo(java.lang.Object obj)
Specified by:
compareTo in interface java.lang.Comparable


Copyright © 2012 Atlassian. All Rights Reserved.