public class NotTransitionCriteria extends java.lang.Object implements TransitionCriteria
Constructor and Description |
---|
NotTransitionCriteria(TransitionCriteria criteria)
Create a new transition criteria object that will negate the result of given 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 NotTransitionCriteria(TransitionCriteria criteria)
criteria
- the criteria to negatepublic 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