public interface

NotificationHandler

com.atlassian.bitbucket.notification.NotificationHandler<T extends com.atlassian.bitbucket.notification.Notification>

Class Overview

Notification Handler takes a Notification and pushes it to a channel

Summary

Public Methods
void handle(T notification, Set<Watcher> watchers)
Handle the provided notification for the given recipients.
@Deprecated void handle(T notification, Iterable<ApplicationUser> recipients)
This method is deprecated. in 5.10 to be removed in 6.0. Use handle(Notification, Set) instead

Public Methods

public void handle (T notification, Set<Watcher> watchers)

Handle the provided notification for the given recipients.

Parameters
notification the notification to handle
watchers the watchers who should receive the notification

@Deprecated public void handle (T notification, Iterable<ApplicationUser> recipients)

This method is deprecated.
in 5.10 to be removed in 6.0. Use handle(Notification, Set) instead