|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.webflow.engine.support.TransitionCriteriaChain
public class TransitionCriteriaChain
An ordered chain of TransitionCriteria
. Iterates over each element in the chain, continues until one
returns false or the list is exhausted. So in effect it will do a logical AND between the contained criteria.
Constructor Summary | |
---|---|
TransitionCriteriaChain()
Creates an initially empty transition criteria chain. |
|
TransitionCriteriaChain(TransitionCriteria... criteria)
Creates a transition criteria chain with the specified criteria. |
Method Summary | |
---|---|
TransitionCriteriaChain |
add(TransitionCriteria criteria)
Add given criteria object to the end of the chain. |
static TransitionCriteria |
criteriaChainFor(Action... actions)
Create a transition criteria chain chaining given list of actions. |
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 TransitionCriteriaChain()
add(TransitionCriteria)
public TransitionCriteriaChain(TransitionCriteria... criteria)
criteria
- the criteriaMethod Detail |
---|
public TransitionCriteriaChain add(TransitionCriteria criteria)
criteria
- the criteria
public boolean test(RequestContext context)
TransitionCriteria
test
in interface TransitionCriteria
context
- the flow execution request context
public java.lang.String toString()
toString
in class java.lang.Object
public static TransitionCriteria criteriaChainFor(Action... actions)
actions
- the actions (and their execution properties) to chain together
|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |