org.sonar.plugins.emailnotifications.reviews
Class ChangesInReviewAssignedToMeOrCreatedByMe

java.lang.Object
  extended by org.sonar.api.notifications.NotificationDispatcher
      extended by org.sonar.plugins.emailnotifications.reviews.ChangesInReviewAssignedToMeOrCreatedByMe
All Implemented Interfaces:
Extension, ServerComponent, ServerExtension

public class ChangesInReviewAssignedToMeOrCreatedByMe
extends NotificationDispatcher

This dispatcher means: "notify me when someone changes review assigned to me or created by me".

Since:
2.10

Nested Class Summary
 
Nested classes/interfaces inherited from class org.sonar.api.notifications.NotificationDispatcher
NotificationDispatcher.Context
 
Constructor Summary
ChangesInReviewAssignedToMeOrCreatedByMe()
           
 
Method Summary
 void dispatch(Notification notification, NotificationDispatcher.Context context)
           Implements the logic that defines which users will receive the notification.
 
Methods inherited from class org.sonar.api.notifications.NotificationDispatcher
getKey, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChangesInReviewAssignedToMeOrCreatedByMe

public ChangesInReviewAssignedToMeOrCreatedByMe()
Method Detail

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.