| |
|
| java.lang.Object org.springframework.webflow.test.MockFlowExecutionContext
Constructor Summary | |
public | MockFlowExecutionContext() Creates a new mock flow execution context -- automatically installs a root
flow definition and active flow session. | public | MockFlowExecutionContext(Flow rootFlow) Creates a new mock flow execution context for the specified root flow
definition. |
MockFlowExecutionContext | public MockFlowExecutionContext()(Code) | | Creates a new mock flow execution context -- automatically installs a root
flow definition and active flow session.
|
MockFlowExecutionContext | public MockFlowExecutionContext(Flow rootFlow)(Code) | | Creates a new mock flow execution context for the specified root flow
definition.
|
getAttributeMap | public MutableAttributeMap getAttributeMap()(Code) | | Returns the mutable execution attribute map.
the execution attribute map |
getMockActiveSession | public MockFlowSession getMockActiveSession()(Code) | | Returns the mock active flow session.
|
isActive | public boolean isActive()(Code) | | |
putAttribute | public void putAttribute(String attributeName, Object attributeValue)(Code) | | Puts a execution attribute into the context.
Parameters: attributeName - the attribute name Parameters: attributeValue - the attribute value |
setActiveSession | public void setActiveSession(FlowSession activeSession)(Code) | | Sets the mock session to be the active session.
|
setConversationScope | public void setConversationScope(MutableAttributeMap scope)(Code) | | Sets flow execution (conversational) scope.
|
setFlow | public void setFlow(Flow rootFlow)(Code) | | Sets the top-level flow definition.
|
|
|
|