package com.atlassian.bitbucket.notification;

import com.atlassian.bitbucket.user.ApplicationUser;

/**
 * Notification Handler takes a Notification and pushes it to a channel
 *
 * @param <T> Notification to handle
 */
public interface NotificationHandler<T extends Notification> {

    void handle(T notification, Iterable<ApplicationUser> recipients);

}
