@ServerSide @ComputeEngineSide @ExtensionPoint public abstract class NotificationChannel extends Object
Plugins should extend this class to provide implementation on a specific way to deliver notifications. For example:
Constructor and Description |
---|
NotificationChannel() |
Modifier and Type | Method and Description |
---|---|
abstract void |
deliver(Notification notification,
String userlogin)
Implements the delivery of the given notification to the given user.
|
String |
getKey()
Returns the unique key of this channel.
|
String |
toString() |
public NotificationChannel()
public abstract void deliver(Notification notification, String userlogin)
notification
- the notification to deliveruserlogin
- the login of the user who should receive the notificationCopyright © 2009–2018 SonarSource. All rights reserved.