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, Cloneable, 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 |
NotificationRuleImpl
public NotificationRuleImpl()
getRecipient
@Nullable
public String getRecipient()
- Specified by:
getRecipient
in interface NotificationRule
setRecipient
public void setRecipient(String recipient)
- Specified by:
setRecipient
in interface NotificationRule
getRecipientType
@Nullable
public String getRecipientType()
- Specified by:
getRecipientType
in interface NotificationRule
setRecipientType
public void setRecipientType(String recipientType)
- Specified by:
setRecipientType
in interface NotificationRule
getConditionKey
@Nullable
public String getConditionKey()
- Specified by:
getConditionKey
in interface NotificationRule
setConditionKey
public void setConditionKey(String conditionKey)
- Specified by:
setConditionKey
in interface NotificationRule
getConditionData
@NotNull
public String getConditionData()
- Specified by:
getConditionData
in interface NotificationRule
setConditionData
public void setConditionData(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 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(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 Comparable<NotificationRule>
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.