Class Event

  • All Implemented Interfaces:

    
    public final class Event
    
                        

    Represents a single event

    Author:

    Adobe Systems Incorporated

    • Constructor Detail

    • Method Detail

      • getName

         String getName()

        Returns the Event name

        Returns:

        String representing the Event name

      • getSource

         String getSource()

        Returns the Event source value

        Returns:

        String representing the Event source

      • getType

         String getType()

        Returns the Event type value

        Returns:

        String representing the Event type

      • getResponseID

         String getResponseID()

        Pair ID for events dispatched by the receiver(s) in response to this event

        Returns:

        String response pair ID

      • getParentID

         String getParentID()

        Returns the unique identifier of the parent of this event.

        Returns:

        the unique identifier of the parent of this event

      • getMask

         Array<String> getMask()
        Returns:

        String[] containing properties in the Event and its data that should be used in the hash for EventHistory storage.

      • cloneWithEventData

         Event cloneWithEventData(Map<String, Object> newData)

        Clones the current Event with updated data

        Parameters:
        newData - data associated with the new Event
        Returns:

        new cloned Event with provided data

      • getEventData

         Map<String, Object> getEventData()

        Retrieves the event data for current Event

        Returns:

        Map<String, Object> with the Event data key-value pairs. Returns null if the data is null or if an error occurred while processing