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 plan is needed for the UI display.


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

Constructor Detail

UsersNotificationImpl

public UsersNotificationImpl(Plan plan,
                             NotificationRule notificationRule)
Method Detail

getPlan

public Plan getPlan()
Description copied from interface: UsersNotification
The plan the notification rule applies to

Specified by:
getPlan in interface UsersNotification
Returns:

getNotificationRule

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

Specified by:
getNotificationRule in interface UsersNotification
Returns:

compareTo

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


Copyright © 2011 Atlassian. All Rights Reserved.