Class JpaRepositoryStateMachine
java.lang.Object
org.springframework.statemachine.data.BaseRepositoryEntity
org.springframework.statemachine.data.RepositoryStateMachine
org.springframework.statemachine.data.jpa.JpaRepositoryStateMachine
A
RepositoryStateMachine
interface for JPA used for states machines.- Author:
- Janne Valkealahti
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the machine id.getState()
Gets the state.byte[]
Gets the state machine context.void
setMachineId
(String machineId) void
void
setStateMachineContext
(byte[] stateMachineContext)
-
Constructor Details
-
JpaRepositoryStateMachine
public JpaRepositoryStateMachine()
-
-
Method Details
-
getMachineId
Description copied from class:RepositoryStateMachine
Gets the machine id.- Specified by:
getMachineId
in classRepositoryStateMachine
- Returns:
- the machine id
-
setMachineId
-
getState
Description copied from class:RepositoryStateMachine
Gets the state.- Specified by:
getState
in classRepositoryStateMachine
- Returns:
- the state
-
setState
-
getStateMachineContext
public byte[] getStateMachineContext()Description copied from class:RepositoryStateMachine
Gets the state machine context.- Specified by:
getStateMachineContext
in classRepositoryStateMachine
- Returns:
- the state machine context
-
setStateMachineContext
public void setStateMachineContext(byte[] stateMachineContext)
-