|
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.ActionList
public class ActionList
An ordered, typed list of actions, mainly for use internally by flow artifacts that can execute groups of actions.
Flow.getStartActionList(),
Flow.getEndActionList(),
State.getEntryActionList(),
ActionState.getActionList(),
TransitionableState.getExitActionList(),
ViewState.getRenderActionList()| Constructor Summary | |
|---|---|
ActionList()
|
|
| Method Summary | |
|---|---|
boolean |
add(Action action)
Add an action to this list. |
boolean |
addAll(Action... actions)
Add a collection of actions to this list. |
boolean |
contains(Action action)
Tests if the action is in this list. |
void |
execute(RequestContext context)
Executes the actions contained within this action list. |
Action |
get(int index)
Returns the action in this list at the provided index. |
AnnotatedAction |
getAnnotated(int index)
Returns the action in this list at the provided index, exposing it as an annotated action. |
java.util.Iterator<Action> |
iterator()
Returns an iterator over this action list. |
boolean |
remove(Action action)
Remove the action instance from this list. |
int |
size()
Returns the size of this action list. |
AnnotatedAction[] |
toAnnotatedArray()
Returns the list of actions in this list as a typed annotated action array. |
Action[] |
toArray()
Convert this list to a typed action 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 ActionList()
| Method Detail |
|---|
public boolean add(Action action)
action - the action to add
public boolean addAll(Action... actions)
actions - the actions to add
public boolean contains(Action action)
action - the action
public boolean remove(Action action)
action - the action to add
public int size()
public Action get(int index)
throws java.lang.IndexOutOfBoundsException
index - the action index
java.lang.IndexOutOfBoundsException
public AnnotatedAction getAnnotated(int index)
throws java.lang.IndexOutOfBoundsException
java.lang.IndexOutOfBoundsExceptionpublic java.util.Iterator<Action> iterator()
iterator in interface java.lang.Iterable<Action>public Action[] toArray()
public AnnotatedAction[] toAnnotatedArray()
public void execute(RequestContext context)
context - the action execution request 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 | ||||||||