Class MatchEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class MatchEvent
    extends java.util.EventObject
    Represents a match against an event expression registered in the Correlator. The source is a reference to the EventExpression object that was registered.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Event getMatchingEvent​(java.lang.String key)
      Get one of the co-assigned Events that caused the match.
      java.util.HashMap getMatchingEvents()
      Get the set of co-assigned Events that caused the match.
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getMatchingEvents

        public java.util.HashMap getMatchingEvents()
        Get the set of co-assigned Events that caused the match.
        Returns:
        A Map of the co-assigned Event objects that hold the values that matched the EventExpression.
      • getMatchingEvent

        public Event getMatchingEvent​(java.lang.String key)
        Get one of the co-assigned Events that caused the match.
        Parameters:
        key - The name of a co-assigned variable from the EventExpression.
        Returns:
        The value of the co-assigned variable (an Event object) that matched in the EventExpression.