Package gov.usgs.earthquake.distribution
Interface Notification
-
- All Known Implementing Classes:
DefaultNotification
,JsonNotification
,URLNotification
public interface Notification
A Notification describes an updated product that is available.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
equals(Notification that)
A comparison method to see if two notifications are equal.java.util.Date
getExpirationDate()
How long the product is available.ProductId
getProductId()
The product that is available.java.net.URL
getTrackerURL()
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
-
-