Class ConditionHandlerContext

java.lang.Object
com.espertech.esper.common.client.hook.condition.ConditionHandlerContext

public class ConditionHandlerContext extends Object
Context provided to ConditionHandler implementations providing runtime-condition-contextual information.

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

  • Constructor Details

    • ConditionHandlerContext

      public ConditionHandlerContext(String runtimeURI, String statementName, String deploymentId, BaseCondition condition)
      Ctor.
      Parameters:
      runtimeURI - runtime URI
      statementName - statement name
      deploymentId - statement deployment-id
      condition - condition reported
  • Method Details

    • getRuntimeURI

      public String getRuntimeURI()
      Returns the runtime URI.
      Returns:
      runtime URI
    • getStatementName

      public 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
    • getDeploymentId

      public String getDeploymentId()
      Returns the deployment id of the statement.
      Returns:
      statement.
    • getCondition

      public BaseCondition getCondition()
      Returns the condition reported.
      Returns:
      condition reported