com.atlassian.bamboo.notification
Class NotificationSetImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.notification.NotificationSetImpl
- All Implemented Interfaces:
- BambooIdProvider, BambooObject, NotificationSet, java.lang.Cloneable
public class NotificationSetImpl
- extends BambooEntityObject
- implements NotificationSet
Methods inherited from class com.atlassian.core.bean.EntityObject |
clone, equals, getCreationDate, getCurrentDate, getLastModificationDate, hashCode, setClock, setCreationDate, setLastModificationDate |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
NotificationSetImpl
public NotificationSetImpl()
NotificationSetImpl
public NotificationSetImpl(NotificationSet.NotificationSetType notificationSetType)
getSortedNotificationRules
public java.util.List<NotificationRule> getSortedNotificationRules()
- Specified by:
getSortedNotificationRules
in interface NotificationSet
addNotification
public void addNotification(NotificationRule notificationRule)
- Specified by:
addNotification
in interface NotificationSet
getNotificationRuleById
public NotificationRule getNotificationRuleById(long id)
- Specified by:
getNotificationRuleById
in interface NotificationSet
removeNotificationRule
public void removeNotificationRule(long id)
- Specified by:
removeNotificationRule
in interface NotificationSet
setNotificationRules
public void setNotificationRules(@NotNull
java.util.Set<NotificationRule> notificationRules)
getNotificationRules
@NotNull
public java.util.Set<NotificationRule> getNotificationRules()
- Specified by:
getNotificationRules
in interface NotificationSet
getNotificationSetType
public NotificationSet.NotificationSetType getNotificationSetType()
- Description copied from interface:
NotificationSet
- The type of this notification set eg system or plan.
- Specified by:
getNotificationSetType
in interface NotificationSet
- Returns:
- Type of notification set
setNotificationSetType
public void setNotificationSetType(NotificationSet.NotificationSetType notificationSetType)
Copyright © 2012 Atlassian. All Rights Reserved.