public class BulkRetrievalEvent extends WWEvent
BulkRetrievable,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
eventType |
protected java.lang.String |
item |
static java.lang.String |
RETRIEVAL_FAILED
Constant indicating retrieval failure.
|
static java.lang.String |
RETRIEVAL_SUCCEEDED
Constant indicating retrieval success.
|
| Constructor and Description |
|---|
BulkRetrievalEvent(BulkRetrievable source,
java.lang.String eventType,
java.lang.String item)
Creates a new event.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getEventType()
Returns the event type, one of
RETRIEVAL_SUCCEEDED or RETRIEVAL_FAILED. |
java.lang.String |
getItem()
Returns the filestore location of the item whose retrieval succeeded or failed.
|
BulkRetrievable |
getSource()
Returns the event source.
|
consume, isConsumedprotected java.lang.String eventType
protected java.lang.String item
public static java.lang.String RETRIEVAL_FAILED
public static java.lang.String RETRIEVAL_SUCCEEDED
public BulkRetrievalEvent(BulkRetrievable source, java.lang.String eventType, java.lang.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 java.lang.String getEventType()
RETRIEVAL_SUCCEEDED or RETRIEVAL_FAILED.public java.lang.String getItem()
public BulkRetrievable getSource()
getSource in class java.util.EventObjectBulkRetrievable