public class NotificationRuleImpl extends BambooEntityObject implements NotificationRule
Constructor and Description |
---|
NotificationRuleImpl() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(NotificationRule o) |
boolean |
equals(Object o) |
String |
getConditionData() |
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.
|
Object |
getNotificationTypeForView()
Hack until i get the ui sorted out.
|
String |
getRecipient() |
String |
getRecipientType() |
int |
hashCode() |
void |
setConditionData(String conditionData) |
void |
setConditionKey(String conditionKey) |
void |
setNotificationManager(NotificationManager notificationManager) |
void |
setNotificationSet(NotificationSet notificationSet) |
void |
setRecipient(String recipient) |
void |
setRecipientType(String recipientType) |
String |
toString() |
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate
finalize, getClass, notify, notifyAll, wait, wait, wait
setId
getId
@Nullable public String getRecipient()
getRecipient
in interface NotificationRule
public void setRecipient(String recipient)
setRecipient
in interface NotificationRule
@Nullable public String getRecipientType()
getRecipientType
in interface NotificationRule
public void setRecipientType(String recipientType)
setRecipientType
in interface NotificationRule
@Nullable public String getConditionKey()
getConditionKey
in interface NotificationRule
public void setConditionKey(String conditionKey)
setConditionKey
in interface NotificationRule
@NotNull public String getConditionData()
getConditionData
in interface NotificationRule
public void setConditionData(String conditionData)
setConditionData
in interface NotificationRule
public NotificationSet getNotificationSet()
getNotificationSet
in interface NotificationRule
public void setNotificationSet(NotificationSet notificationSet)
setNotificationSet
in interface NotificationRule
public NotificationRecipient getNotificationRecipient()
NotificationRule
getNotificationRecipient
in interface NotificationRule
@Nullable public NotificationType getNotificationType()
NotificationRule
getNotificationType
in interface NotificationRule
@Nullable public Object getNotificationTypeForView()
getNotificationTypeForView
in interface NotificationRule
public void setNotificationManager(NotificationManager notificationManager)
setNotificationManager
in interface NotificationRule
public int hashCode()
hashCode
in class com.atlassian.core.bean.EntityObject
public boolean equals(Object o)
equals
in class com.atlassian.core.bean.EntityObject
public int compareTo(NotificationRule o)
compareTo
in interface Comparable<NotificationRule>
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.