|
|||||||||
| 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 | |
|---|---|
String[] |
getTrueEventIds()
Returns the action result eventIds that should cause this criteria to return true (it will return
false otherwise). |
void |
setTrueEventIds(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 |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActionTransitionCriteria(Action action)
action - the action| Method Detail |
|---|
public String[] getTrueEventIds()
eventIds that should cause this criteria to return true (it will return
false otherwise). Defaults to "success".
public void setTrueEventIds(String[] trueEventIds)
eventIds that should cause this precondition to return true (it will return
false otherwise).
trueEventIds - the true result event IDspublic boolean test(RequestContext context)
TransitionCriteria
test in interface TransitionCriteriacontext - the flow execution request context
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||