|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.webflow.executor.FlowExecutionResult
public class FlowExecutionResult
A value object providing information about the result of a flow execution request.
Method Summary | |
---|---|
static FlowExecutionResult |
createEndedResult(String flowId,
FlowExecutionOutcome outcome)
Factory method that creates a ended result, indicating the flow terminated after handling the request. |
static FlowExecutionResult |
createPausedResult(String flowId,
String flowExecutionKey)
Factory method that creates a paused result, indicating the flow is now in a wait state after handling the request. |
String |
getFlowId()
Returns the flow definition that completed execution. |
FlowExecutionOutcome |
getOutcome()
Returns the flow execution outcome when an ended result. |
String |
getPausedKey()
Returns the key needed to resume the flow execution when a paused result. |
boolean |
isEnded()
Returns true if the flow execution ended. |
boolean |
isPaused()
Returns true if the flow execution paused and is now in a wait state. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static FlowExecutionResult createPausedResult(String flowId, String flowExecutionKey)
flowId
- the flow idflowExecutionKey
- the flow execution key
public static FlowExecutionResult createEndedResult(String flowId, FlowExecutionOutcome outcome)
flowId
- the flow idoutcome
- the ending execution outcome
public String getFlowId()
public boolean isPaused()
public String getPausedKey()
isPaused()
public boolean isEnded()
public FlowExecutionOutcome getOutcome()
null
if this is not an ended resultisEnded()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |