public class DefaultTransitionCriteria extends java.lang.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.
|
java.lang.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 contextpublic java.lang.String toString()
toString
in class java.lang.Object