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,Cloneable
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.bamboo.notification.NotificationSet
NotificationSet.NotificationSetType -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNotificationSetImpl(NotificationSet.NotificationSetType notificationSetType) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNotification(NotificationRule notificationRule) getNotificationRuleById(long id) @NotNull Set<NotificationRule> The type of this notification set eg system or plan.voidremoveNotificationRule(long id) voidsetNotificationRules(@NotNull Set<NotificationRule> notificationRules) voidsetNotificationSetType(NotificationSet.NotificationSetType notificationSetType) Methods inherited from class com.atlassian.core.bean.EntityObject
clone, equals, getCreationDate, getCurrentDate, getId, getLastModificationDate, hashCode, setClock, setCreationDate, setId, setLastModificationDateMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getIdMethods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
Field Details
-
EMPTY
-
-
Constructor Details
-
NotificationSetImpl
public NotificationSetImpl() -
NotificationSetImpl
-
-
Method Details
-
getSortedNotificationRules
- Specified by:
getSortedNotificationRulesin interfaceNotificationSet
-
addNotification
- Specified by:
addNotificationin interfaceNotificationSet
-
getNotificationRuleById
- Specified by:
getNotificationRuleByIdin interfaceNotificationSet
-
removeNotificationRule
public void removeNotificationRule(long id) - Specified by:
removeNotificationRulein interfaceNotificationSet
-
setNotificationRules
-
getNotificationRules
- Specified by:
getNotificationRulesin interfaceNotificationSet
-
getNotificationSetType
Description copied from interface:NotificationSetThe type of this notification set eg system or plan.- Specified by:
getNotificationSetTypein interfaceNotificationSet- Returns:
- Type of notification set
-
setNotificationSetType
-