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<NotificationRule>

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(NotificationRule o)
           
 boolean equals(java.lang.Object o)
          This method needs to be here in order to use proper id
 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()
          This method needs to be here in order to use proper id
 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)
           
 java.lang.String toString()
           
 
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, 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()
Description copied from class: BambooEntityObject
This method needs to be here in order to use proper id

Overrides:
hashCode in class BambooEntityObject

equals

public boolean equals(java.lang.Object o)
Description copied from class: BambooEntityObject
This method needs to be here in order to use proper id

Overrides:
equals in class BambooEntityObject

compareTo

public int compareTo(NotificationRule o)
Specified by:
compareTo in interface java.lang.Comparable<NotificationRule>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.