Package org.ocpsoft.rewrite.context
Interface EvaluationContext
- All Superinterfaces:
Context
Context object spanning the lifecycle of a single Rule evaluation. This includes both
Condition evaluation and Operation invocation.- Author:
- Lincoln Baxter, III
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddPostOperation(Operation operation) Add a newOperationto be performed if all conditions of this rule are met.voidaddPreOperation(Operation operation) Add a newOperationto be performed if all conditions of this rule are met.getState()Return the currentRewriteStatefor thisEvaluationContext.Methods inherited from interface org.ocpsoft.rewrite.context.Context
clear, containsKey, get, put
-
Method Details
-
getState
RewriteState getState()Return the currentRewriteStatefor thisEvaluationContext. DuringConditionevaluation, this will returnRewriteState.EVALUATING. While performing configuredOperationinstances, this will returnRewriteState.PERFORMING. -
addPreOperation
-
addPostOperation
-