Package gov.usgs.earthquake.distribution
Interface Notification
-
- All Known Implementing Classes:
DefaultNotification,JsonNotification,URLNotification
public interface NotificationA Notification describes an updated product that is available.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanequals(Notification that)A comparison method to see if two notifications are equal.java.util.DategetExpirationDate()How long the product is available.ProductIdgetProductId()The product that is available.java.net.URLgetTrackerURL()A tracking url where status updates can be sent.
-
-
-
Method Detail
-
getProductId
ProductId getProductId()
The product that is available.- Returns:
- ProductId
-
getExpirationDate
java.util.Date getExpirationDate()
How long the product is available.- Returns:
- Date
-
getTrackerURL
java.net.URL getTrackerURL()
A tracking url where status updates can be sent.- Returns:
- Tracker URL
-
equals
boolean equals(Notification that)
A comparison method to see if two notifications are equal.- Parameters:
that- Notification- Returns:
- boolean
-
-