public interface NotificationFeedStore
NotificationFeedId objects.| Modifier and Type | Method and Description |
|---|---|
co.cask.cdap.proto.notification.NotificationFeedInfo |
createNotificationFeed(co.cask.cdap.proto.notification.NotificationFeedInfo feed)
Creates a new Notification feed.
|
co.cask.cdap.proto.notification.NotificationFeedInfo |
deleteNotificationFeed(co.cask.cdap.proto.id.NotificationFeedId feed)
Deletes a Notification feed from the metadata store.
|
co.cask.cdap.proto.notification.NotificationFeedInfo |
getNotificationFeed(co.cask.cdap.proto.id.NotificationFeedId feed)
Retrieves a Notification feed from the metadata store.
|
List<co.cask.cdap.proto.notification.NotificationFeedInfo> |
listNotificationFeeds(co.cask.cdap.proto.id.NamespaceId namespace)
Lists all registered Notification feeds for the
namespace. |
@Nullable co.cask.cdap.proto.notification.NotificationFeedInfo createNotificationFeed(co.cask.cdap.proto.notification.NotificationFeedInfo feed)
feed - NotificationFeedId representing the feedNotificationFeedId if a feed with the same id already exists,
or null if no feed with the same id exists and the feed was created successfully@Nullable co.cask.cdap.proto.notification.NotificationFeedInfo getNotificationFeed(co.cask.cdap.proto.id.NotificationFeedId feed)
feed - NotificationFeedId representing the feedNotificationFeedId of the requested feed, or null if it was not found in the store@Nullable co.cask.cdap.proto.notification.NotificationFeedInfo deleteNotificationFeed(co.cask.cdap.proto.id.NotificationFeedId feed)
feed - NotificationFeedId representing the feedNotificationFeedInfo of the feed if it was found and deleted,
null if the specified feed did not existList<co.cask.cdap.proto.notification.NotificationFeedInfo> listNotificationFeeds(co.cask.cdap.proto.id.NamespaceId namespace)
namespace.namespace - Id of the namespace to list the feeds forCopyright © 2018 Cask Data, Inc. Licensed under the Apache License, Version 2.0.