public class DefaultTransitionCriteria extends Object implements TransitionCriteria
Constructor and Description |
---|
DefaultTransitionCriteria(Expression expression)
Create a new expression based transition criteria object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
test(RequestContext context)
Check if the transition should fire based on the given flow execution request context.
|
String |
toString() |
public DefaultTransitionCriteria(Expression expression)
expression
- the expression evaluator testing the criteriapublic boolean test(RequestContext context)
TransitionCriteria
test
in interface TransitionCriteria
context
- the flow execution request context