|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.webflow.engine.support.EventIdTransitionCriteria
public class EventIdTransitionCriteria
Simple transition criteria that matches on an eventId and nothing else. Specifically, if the id of the last event
that occured equals getEventId() this criteria will return true.
RequestContext.getLastEvent(),
Serialized Form| Constructor Summary | |
|---|---|
EventIdTransitionCriteria(java.lang.String eventId)
Create a new event id matching criteria object. |
|
| Method Summary | |
|---|---|
java.lang.String |
getEventId()
Returns the event id to match. |
void |
setCaseSensitive(boolean caseSensitive)
Set whether or not the event id should be matched in a case sensitve manner. |
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 EventIdTransitionCriteria(java.lang.String eventId)
eventId - the event id| Method Detail |
|---|
public java.lang.String getEventId()
public void setCaseSensitive(boolean caseSensitive)
public boolean test(RequestContext context)
TransitionCriteria
test in interface TransitionCriteriacontext - the flow execution request context
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||