com.espertech.esper.client.hook
Class ConditionHandlerContext

java.lang.Object
  extended by com.espertech.esper.client.hook.ConditionHandlerContext

public class ConditionHandlerContext
extends java.lang.Object

Context provided to ConditionHandler implementations providing engine-condition-contextual information.

Statement information pertains to the statement currently being processed when the condition occured.


Constructor Summary
ConditionHandlerContext(java.lang.String engineURI, java.lang.String statementName, java.lang.String epl, BaseCondition engineCondition)
          Ctor.
 
Method Summary
 BaseCondition getEngineCondition()
          Returns the condition reported.
 java.lang.String getEngineURI()
          Returns the engine URI.
 java.lang.String getEpl()
          Returns the expression text of the statement.
 java.lang.String getStatementName()
          Returns the statement name, if provided, or the statement id assigned to the statement if no name was provided.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConditionHandlerContext

public ConditionHandlerContext(java.lang.String engineURI,
                               java.lang.String statementName,
                               java.lang.String epl,
                               BaseCondition engineCondition)
Ctor.

Parameters:
engineURI - engine URI
statementName - statement name
epl - statement EPL expression text
engineCondition - condition reported
Method Detail

getEngineURI

public java.lang.String getEngineURI()
Returns the engine URI.

Returns:
engine URI

getStatementName

public java.lang.String getStatementName()
Returns the statement name, if provided, or the statement id assigned to the statement if no name was provided.

Returns:
statement name or id

getEpl

public java.lang.String getEpl()
Returns the expression text of the statement.

Returns:
statement.

getEngineCondition

public BaseCondition getEngineCondition()
Returns the condition reported.

Returns:
condition reported

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com