Class UsersNotificationImpl
- java.lang.Object
-
- com.atlassian.bamboo.notification.UsersNotificationImpl
-
- All Implemented Interfaces:
UsersNotification
,Comparable<UsersNotification>
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
Constructors Constructor Description UsersNotificationImpl(Plan plan, NotificationRule notificationRule)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(UsersNotification o)
NotificationRule
getNotificationRule()
The notification rulePlan
getPlan()
The plan the notification rule applies to
-
-
-
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 interfaceUsersNotification
- Returns:
-
getNotificationRule
public NotificationRule getNotificationRule()
Description copied from interface:UsersNotification
The notification rule- Specified by:
getNotificationRule
in interfaceUsersNotification
- Returns:
-
compareTo
public int compareTo(UsersNotification o)
- Specified by:
compareTo
in interfaceComparable<UsersNotification>
-
-