com.atlassian.bamboo.notification
Class NotificationRuleImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.notification.NotificationRuleImpl
- All Implemented Interfaces:
- BambooIdProvider, BambooObject, NotificationRule, java.lang.Cloneable, java.lang.Comparable
public class NotificationRuleImpl
- extends BambooEntityObject
- implements NotificationRule
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 |
NotificationRuleImpl
public NotificationRuleImpl()
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.