N - Type of the Notification to handlepublic interface NotificationHandler<N>
Id.NotificationFeed using
NotificationService.subscribe(co.cask.cdap.proto.Id.NotificationFeed, co.cask.cdap.notifications.service.NotificationHandler<N>).| Modifier and Type | Method and Description |
|---|---|
Type |
getNotificationType() |
void |
received(N notification,
NotificationContext notificationContext)
Method called when a notification is received by this handler.
|
Type getNotificationType()
void received(N notification, NotificationContext notificationContext)
notification - notification receivednotificationContext - NotificationContext object for the notificationCopyright © 2015 Cask Data, Inc. Licensed under the Apache License, Version 2.0.