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
-
Constructor Summary
ConstructorDescriptionNotificationSetImpl
(NotificationSet.NotificationSetType notificationSetType) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addNotification
(NotificationRule notificationRule) getNotificationRuleById
(long id) @NotNull Set<NotificationRule>
The type of this notification set eg system or plan.void
removeNotificationRule
(long id) void
setNotificationRules
(@NotNull Set<NotificationRule> notificationRules) void
setNotificationSetType
(NotificationSet.NotificationSetType notificationSetType) Methods inherited from class com.atlassian.core.bean.EntityObject
clone, equals, getCreationDate, getCurrentDate, getId, getLastModificationDate, hashCode, setClock, setCreationDate, setId, setLastModificationDate
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
Field Details
-
EMPTY
-
-
Constructor Details
-
NotificationSetImpl
public NotificationSetImpl() -
NotificationSetImpl
-
-
Method Details
-
getSortedNotificationRules
- Specified by:
getSortedNotificationRules
in interfaceNotificationSet
-
addNotification
- Specified by:
addNotification
in interfaceNotificationSet
-
getNotificationRuleById
- Specified by:
getNotificationRuleById
in interfaceNotificationSet
-
removeNotificationRule
public void removeNotificationRule(long id) - Specified by:
removeNotificationRule
in interfaceNotificationSet
-
setNotificationRules
-
getNotificationRules
- Specified by:
getNotificationRules
in interfaceNotificationSet
-
getNotificationSetType
Description copied from interface:NotificationSet
The type of this notification set eg system or plan.- Specified by:
getNotificationSetType
in interfaceNotificationSet
- Returns:
- Type of notification set
-
setNotificationSetType
-