com.atlassian.bamboo.notification
Class NotificationSetImpl

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.bamboo.core.BambooEntityObject
          extended by com.atlassian.bamboo.notification.NotificationSetImpl
All Implemented Interfaces:
BambooObject, NotificationSet, java.lang.Cloneable

public class NotificationSetImpl
extends BambooEntityObject
implements NotificationSet


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.bamboo.notification.NotificationSet
NotificationSet.NotificationSetType
 
Field Summary
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Constructor Summary
NotificationSetImpl()
           
NotificationSetImpl(NotificationSet.NotificationSetType notificationSetType)
           
 
Method Summary
 void addNotification(NotificationRule notificationRule)
           
 NotificationRule getNotificationRuleById(long id)
           
 java.util.Set<NotificationRule> getNotificationRules()
           
 NotificationSet.NotificationSetType getNotificationSetType()
          The type of this notification set eg system or plan.
 java.util.List<NotificationRule> getSortedNotificationRules()
           
 void removeNotificationRule(long id)
           
 void setNotificationRules(java.util.Set<NotificationRule> notificationRules)
           
 void setNotificationSetType(NotificationSet.NotificationSetType notificationSetType)
           
 
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject
getId, setId
 
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
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
getId, setId
 

Constructor Detail

NotificationSetImpl

public NotificationSetImpl()

NotificationSetImpl

public NotificationSetImpl(NotificationSet.NotificationSetType notificationSetType)
Method Detail

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 © 2010 Atlassian. All Rights Reserved.