com.atlassian.bamboo.notification
Class UsersNotificationImpl

java.lang.Object
  extended by com.atlassian.bamboo.notification.UsersNotificationImpl
All Implemented Interfaces:
UsersNotification, java.lang.Comparable

public class UsersNotificationImpl
extends java.lang.Object
implements UsersNotification

Class to store output of database query for notifications associated with a specific user The build is needed for the UI display.


Constructor Summary
UsersNotificationImpl(Build build, NotificationRule notificationRule)
           
 
Method Summary
 int compareTo(java.lang.Object obj)
           
 Build getBuild()
          The build the notification rule applies to
 NotificationRule getNotificationRule()
          The notification rule
 void setBuild(Build build)
           
 void setNotificationRule(NotificationRule notificationRule)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsersNotificationImpl

public UsersNotificationImpl(Build build,
                             NotificationRule notificationRule)
Method Detail

getBuild

public Build getBuild()
Description copied from interface: UsersNotification
The build the notification rule applies to

Specified by:
getBuild in interface UsersNotification
Returns:

setBuild

public void setBuild(Build build)

getNotificationRule

public NotificationRule getNotificationRule()
Description copied from interface: UsersNotification
The notification rule

Specified by:
getNotificationRule in interface UsersNotification
Returns:

setNotificationRule

public void setNotificationRule(NotificationRule notificationRule)

compareTo

public int compareTo(java.lang.Object obj)
Specified by:
compareTo in interface java.lang.Comparable


Copyright © 2010 Atlassian. All Rights Reserved.