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 intcompareTo(UsersNotification o)NotificationRulegetNotificationRule()The notification rulePlangetPlan()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:UsersNotificationThe plan the notification rule applies to- Specified by:
getPlanin interfaceUsersNotification- Returns:
-
getNotificationRule
public NotificationRule getNotificationRule()
Description copied from interface:UsersNotificationThe notification rule- Specified by:
getNotificationRulein interfaceUsersNotification- Returns:
-
compareTo
public int compareTo(UsersNotification o)
- Specified by:
compareToin interfaceComparable<UsersNotification>
-
-