com.apama.jmon
Class MatchEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.apama.jmon.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
 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.


Submit a bug or feature
Copyright (c) 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG