Class BulkRetrievalEvent

    • Field Summary

      Fields 
      Modifier and Type Field 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.
      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      BulkRetrievalEvent​(BulkRetrievable source, java.lang.String eventType, java.lang.String item)
      Creates a new event.
    • Field Detail

      • RETRIEVAL_FAILED

        public static java.lang.String RETRIEVAL_FAILED
        Constant indicating retrieval failure.
      • RETRIEVAL_SUCCEEDED

        public static java.lang.String RETRIEVAL_SUCCEEDED
        Constant indicating retrieval success.
      • eventType

        protected java.lang.String eventType
      • item

        protected java.lang.String item
    • Constructor Detail

      • BulkRetrievalEvent

        public BulkRetrievalEvent​(BulkRetrievable source,
                                  java.lang.String eventType,
                                  java.lang.String item)
        Creates a new event.
        Parameters:
        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.
        See Also:
        BulkRetrievable
    • Method Detail

      • getSource

        public BulkRetrievable getSource()
        Returns the event source.
        Overrides:
        getSource in class java.util.EventObject
        Returns:
        the event source, typically either a tiled image layer, elevation model or placename layer.
        See Also:
        BulkRetrievable
      • getItem

        public java.lang.String getItem()
        Returns the filestore location of the item whose retrieval succeeded or failed.
        Returns:
        the filestore location of the item.