Package gov.usgs.earthquake.distribution
Class StorageEvent
java.lang.Object
java.util.EventObject
gov.usgs.earthquake.distribution.StorageEvent
- All Implemented Interfaces:
Serializable
Specialized event object for acting on PDL product storage
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnumeration ofStorageEventTypes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StorageEvent.StorageEventTypeVariable of StorageEventType, for the PRODUCT_REMOVED enumstatic final StorageEvent.StorageEventTypeVariable of StorageEventType, for the PRODUCT_STORED enumFields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionStorageEvent(ProductStorage storage, ProductId id, StorageEvent.StorageEventType type) Construct a new StorageEvent -
Method Summary
Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
PRODUCT_STORED
Variable of StorageEventType, for the PRODUCT_STORED enum -
PRODUCT_REMOVED
Variable of StorageEventType, for the PRODUCT_REMOVED enum
-
-
Constructor Details
-
StorageEvent
Construct a new StorageEvent- Parameters:
storage- ProductStorageid- ProductIdtype- StorageEventType
-
-
Method Details
-
getProductStorage
- Returns:
- ProductStorage
-
getProductId
- Returns:
- Product ID
-
getType
- Returns:
- StorageEventType
-