Package gov.usgs.earthquake.aws
Class JsonNotification
java.lang.Object
gov.usgs.earthquake.distribution.DefaultNotification
gov.usgs.earthquake.distribution.URLNotification
gov.usgs.earthquake.aws.JsonNotification
- All Implemented Interfaces:
Notification
Json formatted notification.
Stores stores product content in URLNotification as a data URL.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJsonNotification
(Instant created, Product product) Create a JsonNotification from an existing Product.JsonNotification
(Instant created, Product product, Date expiration) Create a JsonNotification with an expiration date.JsonNotification
(javax.json.JsonObject json) Parse a Json formatted Notification. -
Method Summary
Methods inherited from class gov.usgs.earthquake.distribution.URLNotification
equals, getProductURL
Methods inherited from class gov.usgs.earthquake.distribution.DefaultNotification
getExpirationDate, getProductId
-
Field Details
-
created
When notification was created. -
product
Product attached to notification.
-
-
Constructor Details