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:
BambooObject, NotificationRule, java.lang.Cloneable

public class NotificationRuleImpl
extends BambooEntityObject
implements NotificationRule


Field Summary
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Fields inherited from interface com.atlassian.bamboo.notification.NotificationRule
SEPERATOR
 
Constructor Summary
NotificationRuleImpl()
           
 
Method Summary
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object o)
           
 NotificationCondition getCondition()
           
 java.lang.String getConditionData()
           
 java.lang.String getConditionKey()
           
 java.lang.String getEmailRecipientsAsString()
           
 java.util.Set<NotificationRecipient> getEmailRecipientsFromString(java.lang.String emailsString)
           
 java.lang.String getGroupRecipientsAsString()
           
 java.util.Set<NotificationRecipient> getGroupRecipientsFromString(java.lang.String groupString)
           
 java.lang.String getIMRecipientsAsString()
          For viewing notifications
 java.util.Set<NotificationRecipient> getIMRecipientsFromString(java.lang.String imString)
           
 NotificationSet getNotificationSet()
           
 java.util.Set<NotificationRecipient> getRecipients()
           
 java.util.Set<NotificationRecipient> getRecipientsOfType(java.lang.String type)
           
 java.util.Set<java.lang.String> getRoleRecipientsAsList()
           
 java.lang.String getRoleRecipientsAsString()
           
 java.util.Set<NotificationRecipient> getRoleRecipientsFromList(java.util.Set<java.lang.String> roles)
           
 java.lang.String getUserRecipientsAsString()
           
 java.util.Set<NotificationRecipient> getUserRecipientsFromString(java.lang.String userString)
           
 int hashCode()
           
 void setCondition(NotificationCondition condition)
           
 void setConditionData(java.lang.String conditionData)
           
 void setConditionKey(java.lang.String conditionKey)
           
 void setNotificationManager(NotificationManager notificationManager)
           
 void setNotificationSet(NotificationSet notificationSet)
           
 void setRecipients(java.util.Set<NotificationRecipient> recipients)
           
 
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
getId, setId
 

Constructor Detail

NotificationRuleImpl

public NotificationRuleImpl()
Method Detail

getEmailRecipientsAsString

public java.lang.String getEmailRecipientsAsString()
Specified by:
getEmailRecipientsAsString in interface NotificationRule

getIMRecipientsAsString

public java.lang.String getIMRecipientsAsString()
Description copied from interface: NotificationRule
For viewing notifications

Specified by:
getIMRecipientsAsString in interface NotificationRule
Returns:

getUserRecipientsAsString

public java.lang.String getUserRecipientsAsString()
Specified by:
getUserRecipientsAsString in interface NotificationRule

getGroupRecipientsAsString

public java.lang.String getGroupRecipientsAsString()
Specified by:
getGroupRecipientsAsString in interface NotificationRule

getGroupRecipientsFromString

public java.util.Set<NotificationRecipient> getGroupRecipientsFromString(java.lang.String groupString)
Specified by:
getGroupRecipientsFromString in interface NotificationRule

getUserRecipientsFromString

public java.util.Set<NotificationRecipient> getUserRecipientsFromString(java.lang.String userString)
Specified by:
getUserRecipientsFromString in interface NotificationRule

getIMRecipientsFromString

public java.util.Set<NotificationRecipient> getIMRecipientsFromString(java.lang.String imString)
Specified by:
getIMRecipientsFromString in interface NotificationRule

getEmailRecipientsFromString

public java.util.Set<NotificationRecipient> getEmailRecipientsFromString(java.lang.String emailsString)
Specified by:
getEmailRecipientsFromString in interface NotificationRule

getRecipientsOfType

public java.util.Set<NotificationRecipient> getRecipientsOfType(java.lang.String type)
Specified by:
getRecipientsOfType in interface NotificationRule

getRoleRecipientsAsList

public java.util.Set<java.lang.String> getRoleRecipientsAsList()
Specified by:
getRoleRecipientsAsList in interface NotificationRule

getRoleRecipientsAsString

public java.lang.String getRoleRecipientsAsString()
Specified by:
getRoleRecipientsAsString in interface NotificationRule

getRoleRecipientsFromList

public java.util.Set<NotificationRecipient> getRoleRecipientsFromList(java.util.Set<java.lang.String> roles)
Specified by:
getRoleRecipientsFromList in interface NotificationRule

getConditionKey

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

getRecipients

public java.util.Set<NotificationRecipient> getRecipients()
Specified by:
getRecipients in interface NotificationRule

setRecipients

public void setRecipients(java.util.Set<NotificationRecipient> recipients)
Specified by:
setRecipients in interface NotificationRule

getConditionData

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

getCondition

public NotificationCondition getCondition()
Specified by:
getCondition in interface NotificationRule

setCondition

public void setCondition(NotificationCondition condition)
Specified by:
setCondition in interface NotificationRule

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)


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.