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
FlowExecution
that is running. - A snapshotId, identifying a physical flow execution snapshot that can be restored.
- Author:
- Keith Donald
- See Also:
-
Constructor Summary
ConstructorDescriptionCompositeFlowExecutionKey
(Serializable executionId, Serializable snapshotId) Create a new composite flow execution key given the composing parts. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the execution id part of this key.static String
Returns a string description of the format of this key.Returns the snapshot id part of this key.int
hashCode()
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:
equals
in classFlowExecutionKey
-
hashCode
public int hashCode()- Specified by:
hashCode
in classFlowExecutionKey
-
toString
- Specified by:
toString
in 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
-