org.sonar.api.notifications
Class NotificationDispatcher
java.lang.Object
org.sonar.api.notifications.NotificationDispatcher
- All Implemented Interfaces:
- Extension, ServerComponent, ServerExtension
- Direct Known Subclasses:
- ChangesInReviewAssignedToMeOrCreatedByMe
public abstract class NotificationDispatcher
- extends Object
- implements ServerExtension
Provides logic to determine which users are interested in receiving notification.
Has no knowledge about the way of delivery.
For example:
- notify me when someone comments on review created by me
- notify me when someone comments on review assigned to me
- notify me when someone mentions me in comment for review
- send me system notifications (like password reset, account creation, ...)
- Since:
- 2.10
NotificationDispatcher
public NotificationDispatcher()
getKey
public String getKey()
- Returns:
- unique key of this dispatcher
dispatch
public abstract void dispatch(Notification notification,
NotificationDispatcher.Context context)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2012 SonarSource. All Rights Reserved.