public class BulkRetrievalEvent extends WWEvent
BulkRetrievable, 
Serialized Form| Modifier and Type | Field and Description | 
|---|---|
| protected String | eventType | 
| protected String | item | 
| static String | RETRIEVAL_FAILEDConstant indicating retrieval failure. | 
| static String | RETRIEVAL_SUCCEEDEDConstant indicating retrieval success. | 
source| Constructor and Description | 
|---|
| BulkRetrievalEvent(BulkRetrievable source,
                  String eventType,
                  String item)Creates a new event. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getEventType()Returns the event type, one of  RETRIEVAL_SUCCEEDEDorRETRIEVAL_FAILED. | 
| String | getItem()Returns the filestore location of the item whose retrieval succeeded or failed. | 
| BulkRetrievable | getSource()Returns the event source. | 
consume, isConsumedtoStringprotected String eventType
protected String item
public static String RETRIEVAL_FAILED
public static String RETRIEVAL_SUCCEEDED
public BulkRetrievalEvent(BulkRetrievable source, String eventType, String item)
source - the event source, typically either a tiled image layer, elevation model or placename layer.eventType - indicates success or failure. One of RETRIEVAL_SUCCEEDED or RETRIEVAL_FAILED.item - the cache location of the item whose retrieval succeeded or failed.BulkRetrievablepublic String getEventType()
RETRIEVAL_SUCCEEDED or RETRIEVAL_FAILED.public String getItem()
public BulkRetrievable getSource()
getSource in class EventObjectBulkRetrievable