Class CompositeFlowExecutionKey
java.lang.Object
org.springframework.webflow.execution.FlowExecutionKey
org.springframework.webflow.execution.repository.support.CompositeFlowExecutionKey
- All Implemented Interfaces:
Serializable
A flow execution key that consists of two parts:
- A executionId, identifying a logical
FlowExecutionthat is running. - A snapshotId, identifying a physical flow execution snapshot that can be restored.
- Author:
- Keith Donald
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCompositeFlowExecutionKey(Serializable executionId, Serializable snapshotId) Create a new composite flow execution key given the composing parts. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the execution id part of this key.static StringReturns a string description of the format of this key.Returns the snapshot id part of this key.inthashCode()static String[]Helper that splits the string-form of an instance of this class into its "parts" so the parts can be easily parsed.toString()
-
Constructor Details
-
CompositeFlowExecutionKey
Create a new composite flow execution key given the composing parts.- Parameters:
executionId- the execution idsnapshotId- the snapshot id
-
-
Method Details
-
getExecutionId
Returns the execution id part of this key. -
getSnapshotId
Returns the snapshot id part of this key. -
equals
- Specified by:
equalsin classFlowExecutionKey
-
hashCode
public int hashCode()- Specified by:
hashCodein classFlowExecutionKey
-
toString
- Specified by:
toStringin classFlowExecutionKey
-
getFormat
Returns a string description of the format of this key. -
keyParts
Helper that splits the string-form of an instance of this class into its "parts" so the parts can be easily parsed.- Parameters:
encodedKey- the string-encoded composite flow execution key- Returns:
- the composite key parts as a String array (executionId = 0, snapshotId = 1)
- Throws:
BadlyFormattedFlowExecutionKeyException
-