Class NotificationSourceFeed
java.lang.Object
com.openfin.desktop.JsonBean
com.openfin.desktop.notifications.NotificationSourceFeed
- All Implemented Interfaces:
NotificationSource
public class NotificationSourceFeed extends JsonBean implements NotificationSource
For notifications that have come from a cloud-hosted notification feed.
- Author:
- Anthony
-
Field Summary
-
Constructor Summary
Constructors Constructor Description NotificationSourceFeed(org.json.JSONObject jsonObject) -
Method Summary
Modifier and Type Method Description FeedApplicationgetApplication()java.lang.StringgetId()java.lang.StringgetType()Get notification source type.Methods inherited from class com.openfin.desktop.JsonBean
get, getArray, getBoolean, getBooleanValue, getBooleanValue, getDoubleValue, getDoubleValue, getInteger, getIntegerValue, getJson, getJsonBean, getJsonBean, getJsonBeanList, getJsonCopy, getJsonValue, getList, getRectangle, getString, put, setArray, setBoolean, setInteger, setJsonArray, setJsonBean, setLong, setRectangle, setString, toString
-
Constructor Details
-
NotificationSourceFeed
public NotificationSourceFeed(org.json.JSONObject jsonObject)
-
-
Method Details
-
getApplication
-
getId
public java.lang.String getId() -
getType
public java.lang.String getType()Description copied from interface:NotificationSourceGet notification source type.- Specified by:
getTypein interfaceNotificationSource- Returns:
- notification source type.
-