@ServerSide @ComputeEngineSide @ExtensionPoint public abstract class NotificationChannel extends java.lang.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 boolean |
deliver(Notification notification,
java.lang.String userlogin)
Implements the delivery of the given notification to the given user.
|
java.lang.String |
getKey()
Returns the unique key of this channel.
|
java.lang.String |
toString() |
public java.lang.String getKey()
public abstract boolean deliver(Notification notification, java.lang.String userlogin)
notification - the notification to deliveruserlogin - the login of the user who should receive the notificationpublic java.lang.String toString()
toString in class java.lang.Object