|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.webflow.engine.support.BooleanExpressionTransitionCriteria
public class BooleanExpressionTransitionCriteria
Transition criteria that tests the value of an expression. The expression is used to express a condition that guards transition execution in a web flow. Expressions will be evaluated agains the request context and should return a boolean result.
| Constructor Summary | |
|---|---|
BooleanExpressionTransitionCriteria(org.springframework.binding.expression.Expression booleanExpression)
Create a new expression based transition criteria object. |
|
| Method Summary | |
|---|---|
protected org.springframework.binding.expression.EvaluationContext |
getEvaluationContext(RequestContext context)
Setup a context with a few aliased values to make writing expression based transition conditions a bit easier. |
boolean |
test(RequestContext context)
Check if the transition should fire based on the given flow execution request context. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BooleanExpressionTransitionCriteria(org.springframework.binding.expression.Expression booleanExpression)
booleanExpression - the expression evaluator testing the criteria, this expression should be a condition
that returns a Boolean value| Method Detail |
|---|
public boolean test(RequestContext context)
TransitionCriteria
test in interface TransitionCriteriacontext - the flow execution request context
protected org.springframework.binding.expression.EvaluationContext getEvaluationContext(RequestContext context)
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||