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<NotificationRule>
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, 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()
- 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.