Class ConditionHandlerContext
java.lang.Object
com.espertech.esper.common.client.hook.condition.ConditionHandlerContext
Context provided to
ConditionHandler
implementations providing
runtime-condition-contextual information.
Statement information pertains to the statement currently being processed when the condition occured.
-
Constructor Summary
ConstructorDescriptionConditionHandlerContext
(String runtimeURI, String statementName, String deploymentId, BaseCondition condition) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the condition reported.Returns the deployment id of the statement.Returns the runtime URI.Returns the statement name, if provided, or the statement id assigned to the statement if no name was provided.
-
Constructor Details
-
ConditionHandlerContext
public ConditionHandlerContext(String runtimeURI, String statementName, String deploymentId, BaseCondition condition) Ctor.- Parameters:
runtimeURI
- runtime URIstatementName
- statement namedeploymentId
- statement deployment-idcondition
- condition reported
-
-
Method Details
-
getRuntimeURI
Returns the runtime URI.- Returns:
- runtime URI
-
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
Returns the deployment id of the statement.- Returns:
- statement.
-
getCondition
Returns the condition reported.- Returns:
- condition reported
-