|
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.support.ActionTransitionCriteria
public class ActionTransitionCriteria
A transition criteria that will execute an action when tested and return true if the action's result
is equal to the 'trueEventId', false otherwise.
This effectively adapts an Action to a TransitionCriteria.
Action,
TransitionCriteria| Constructor Summary | |
|---|---|
ActionTransitionCriteria(Action action)
Create action transition criteria delegating to the specified action. |
|
| Method Summary | |
|---|---|
protected Action |
getAction()
Returns the action wrapped by this object. |
java.lang.String[] |
getTrueEventIds()
Returns the action result eventIds that should cause this criteria to return true (it will return
false otherwise). |
void |
setTrueEventIds(java.lang.String[] trueEventIds)
Sets the action result eventIds that should cause this precondition to return true (it will return
false otherwise). |
boolean |
test(RequestContext context)
Check if the transition should fire based on the given flow execution request context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActionTransitionCriteria(Action action)
action - the action| Method Detail |
|---|
public java.lang.String[] getTrueEventIds()
eventIds that should cause this criteria to return true (it will return
false otherwise). Defaults to "success".
public void setTrueEventIds(java.lang.String[] trueEventIds)
eventIds that should cause this precondition to return true (it will return
false otherwise).
trueEventIds - the true result event IDsprotected Action getAction()
public boolean test(RequestContext context)
TransitionCriteria
test in interface TransitionCriteriacontext - the flow execution request context
|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||