public class ConditionHandlerContext
extends java.lang.Object
ConditionHandler
implementations providing
runtime-condition-contextual information.
Statement information pertains to the statement currently being processed when the condition occured.
Constructor and Description |
---|
ConditionHandlerContext(java.lang.String runtimeURI,
java.lang.String statementName,
java.lang.String deploymentId,
BaseCondition condition)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
BaseCondition |
getCondition()
Returns the condition reported.
|
java.lang.String |
getDeploymentId()
Returns the deployment id of the statement.
|
java.lang.String |
getRuntimeURI()
Returns the runtime URI.
|
java.lang.String |
getStatementName()
Returns the statement name, if provided, or the statement id assigned to the statement if no name was provided.
|
public ConditionHandlerContext(java.lang.String runtimeURI, java.lang.String statementName, java.lang.String deploymentId, BaseCondition condition)
runtimeURI
- runtime URIstatementName
- statement namedeploymentId
- statement deployment-idcondition
- condition reportedpublic java.lang.String getRuntimeURI()
public java.lang.String getStatementName()
public java.lang.String getDeploymentId()
public BaseCondition getCondition()