org.sonar.plugins.emailnotifications.newviolations
Class NewViolationsOnMyFavouriteProject
java.lang.Object
org.sonar.api.notifications.NotificationDispatcher
org.sonar.plugins.emailnotifications.newviolations.NewViolationsOnMyFavouriteProject
- All Implemented Interfaces:
- Extension, ServerComponent, ServerExtension
public class NewViolationsOnMyFavouriteProject
- extends NotificationDispatcher
This dispatcher means: "notify me when new violations are introduced on projects that I flagged as favourite".
- Since:
- 2.14
NewViolationsOnMyFavouriteProject
public NewViolationsOnMyFavouriteProject(PropertiesDao propertiesDao)
dispatch
public void dispatch(Notification notification,
NotificationDispatcher.Context context)
- Description copied from class:
NotificationDispatcher
Implements 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.
- Specified by:
dispatch
in class NotificationDispatcher
- Parameters:
notification
- the notification that will be sent
Copyright © 2009-2012 SonarSource. All Rights Reserved.