public interface FlowExecution extends FlowExecutionContext
Modifier and Type | Method and Description |
---|---|
void |
resume(ExternalContext context)
Resume this flow execution.
|
void |
start(MutableAttributeMap input,
ExternalContext context)
Start this flow execution.
|
getActiveSession, getAttributes, getConversationScope, getDefinition, getFlashScope, getKey, getOutcome, hasEnded, hasStarted, isActive
void start(MutableAttributeMap input, ExternalContext context) throws FlowExecutionException
When this method returns, execution status is either "paused" or "ended". If ended, the flow execution cannot be
used again. If "paused", the flow execution may be resumed
.
input
- flow execution inputcontext
- the external context representing the calling environmentFlowExecutionException
- if an exception was thrown within a state of the flow execution during request
processingvoid resume(ExternalContext context) throws FlowExecutionException
context
- the external context, representing the calling environment, where something happened this flow
execution should respond toFlowExecutionException
- if an exception was thrown within a state of the resumed flow execution during
event processing