public class NewViolationsOnMyFavouriteProject extends NotificationDispatcher
NotificationDispatcher.Context| Constructor and Description |
|---|
NewViolationsOnMyFavouriteProject(PropertiesDao propertiesDao) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispatch(Notification notification,
NotificationDispatcher.Context context)
Implements the logic that defines which users will receive the notification.
|
getKey, toStringpublic NewViolationsOnMyFavouriteProject(PropertiesDao propertiesDao)
public void dispatch(Notification notification, NotificationDispatcher.Context context)
NotificationDispatcherImplements the logic that defines which users will receive the notification.
The purpose of this method is to populate the context object with users, based on the type of notification and the content of the notification.dispatch in class NotificationDispatchernotification - the notification that will be sentCopyright © 2009-2012 SonarSource. All Rights Reserved.