org.sonar.api.notifications
Interface NotificationDispatcher.Context

Enclosing class:
NotificationDispatcher

public static interface NotificationDispatcher.Context

Additional information related to the notification, which will be used to know who should receive the notification.


Method Summary
 void addUser(String userLogin)
          Deprecated. Use addUser(String, NotificationChannel) instead.
 void addUser(String userLogin, NotificationChannel notificationChannel)
          Adds a user that will be notified through the given notification channel.
 

Method Detail

addUser

@Deprecated
void addUser(String userLogin)
Deprecated. Use addUser(String, NotificationChannel) instead.

This method is not used any longer. Calling it will result in an UnsupportedOperationException.


addUser

void addUser(String userLogin,
             NotificationChannel notificationChannel)
Adds a user that will be notified through the given notification channel.

Parameters:
userLogin - the user login
notificationChannel - the notification channel to use for this user


Copyright © 2009-2014 SonarSource. All Rights Reserved.