public interface NotificationFeedStore
Id.NotificationFeed objects.| Modifier and Type | Method and Description |
|---|---|
co.cask.cdap.proto.Id.NotificationFeed |
createNotificationFeed(co.cask.cdap.proto.Id.NotificationFeed feed)
Creates a new Notification feed.
|
co.cask.cdap.proto.Id.NotificationFeed |
deleteNotificationFeed(String feedId)
Deletes a Notification feed from the metadata store.
|
co.cask.cdap.proto.Id.NotificationFeed |
getNotificationFeed(String feedId)
Retrieves a Notification feed from the metadata store.
|
List<co.cask.cdap.proto.Id.NotificationFeed> |
listNotificationFeeds(co.cask.cdap.proto.Id.Namespace namespace)
Lists all registered Notification feeds for the
namespace. |
@Nullable co.cask.cdap.proto.Id.NotificationFeed createNotificationFeed(co.cask.cdap.proto.Id.NotificationFeed feed)
feed - Id.NotificationFeed representing the feedId.NotificationFeed 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.Id.NotificationFeed getNotificationFeed(String feedId)
feedId - id of the requested notification feedId.NotificationFeed of the requested feed, or null if it was not found in the store@Nullable co.cask.cdap.proto.Id.NotificationFeed deleteNotificationFeed(String feedId)
feedId - id of the notification feed to deleteId.NotificationFeed of the feed if it was found and deleted,
null if the specified feed did not existList<co.cask.cdap.proto.Id.NotificationFeed> listNotificationFeeds(co.cask.cdap.proto.Id.Namespace namespace)
namespace.namespace - Id of the namespace to list the feeds forCopyright © 2015 Cask Data, Inc. Licensed under the Apache License, Version 2.0.