com.atlassian.bamboo.notification
Class UsersNotificationImpl

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

public class UsersNotificationImpl
extends 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(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(Object obj)
Specified by:
compareTo in interface Comparable


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.