|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.webflow.engine.TransitionSet
public class TransitionSet
A typed set of transitions for use internally by artifacts that can apply transition execution logic.
TransitionableState.getTransitionSet(),
Flow.getGlobalTransitionSet()| Constructor Summary | |
|---|---|
TransitionSet()
|
|
| Method Summary | |
|---|---|
boolean |
add(Transition transition)
Add a transition to this set. |
boolean |
addAll(Transition... transitions)
Add a collection of transition instances to this set. |
boolean |
contains(Transition transition)
Tests if this transition is in this set. |
Transition |
getTransition(RequestContext context)
Gets a transition for given flow execution request context. |
TransitionCriteria[] |
getTransitionCriterias()
Returns a list of the supported transitional criteria used to match transitions in this state. |
boolean |
hasMatchingTransition(RequestContext context)
Returns whether or not this list has a transition that will fire for given flow execution request context. |
java.util.Iterator<Transition> |
iterator()
Returns an iterator over this transition set. |
boolean |
remove(Transition transition)
Remove the transition instance from this set. |
int |
size()
Returns the size of this transition set. |
Transition[] |
toArray()
Convert this set to a typed transition array. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TransitionSet()
| Method Detail |
|---|
public boolean add(Transition transition)
transition - the transition to add
public boolean addAll(Transition... transitions)
transitions - the transitions to add
public boolean contains(Transition transition)
transition - the transition
public boolean remove(Transition transition)
transition - the transition to remove
public int size()
public java.util.Iterator<Transition> iterator()
iterator in interface java.lang.Iterable<Transition>public Transition[] toArray()
public TransitionCriteria[] getTransitionCriterias()
public Transition getTransition(RequestContext context)
context - a flow execution context
public boolean hasMatchingTransition(RequestContext context)
context - a flow execution contextpublic java.lang.String toString()
toString in class java.lang.Object
|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||