@Entity public class NotificationSetImpl extends BambooEntityObject implements NotificationSet
NotificationSet.NotificationSetType
Constructor and Description |
---|
NotificationSetImpl() |
NotificationSetImpl(NotificationSet.NotificationSetType notificationSetType) |
Modifier and Type | Method and Description |
---|---|
void |
addNotification(NotificationRule notificationRule) |
NotificationRule |
getNotificationRuleById(long id) |
Set<NotificationRule> |
getNotificationRules() |
NotificationSet.NotificationSetType |
getNotificationSetType()
The type of this notification set eg system or plan.
|
List<NotificationRule> |
getSortedNotificationRules() |
void |
removeNotificationRule(long id) |
void |
setNotificationRules(Set<NotificationRule> notificationRules) |
void |
setNotificationSetType(NotificationSet.NotificationSetType notificationSetType) |
clone, equals, getCreationDate, getCurrentDate, getId, getLastModificationDate, hashCode, setClock, setCreationDate, setId, setLastModificationDate
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
setId
getId
public NotificationSetImpl()
public NotificationSetImpl(NotificationSet.NotificationSetType notificationSetType)
public List<NotificationRule> getSortedNotificationRules()
getSortedNotificationRules
in interface NotificationSet
public void addNotification(NotificationRule notificationRule)
addNotification
in interface NotificationSet
public NotificationRule getNotificationRuleById(long id)
getNotificationRuleById
in interface NotificationSet
public void removeNotificationRule(long id)
removeNotificationRule
in interface NotificationSet
public void setNotificationRules(@NotNull Set<NotificationRule> notificationRules)
@NotNull public Set<NotificationRule> getNotificationRules()
getNotificationRules
in interface NotificationSet
public NotificationSet.NotificationSetType getNotificationSetType()
NotificationSet
getNotificationSetType
in interface NotificationSet
public void setNotificationSetType(NotificationSet.NotificationSetType notificationSetType)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.