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.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the machine id.getState()Gets the state.byte[]Gets the state machine context.voidsetMachineId(String machineId) voidvoidsetStateMachineContext(byte[] stateMachineContext)
-
Constructor Details
-
JpaRepositoryStateMachine
public JpaRepositoryStateMachine()
-
-
Method Details
-
getMachineId
Description copied from class:RepositoryStateMachineGets the machine id.- Specified by:
getMachineIdin classRepositoryStateMachine- Returns:
- the machine id
-
setMachineId
-
getState
Description copied from class:RepositoryStateMachineGets the state.- Specified by:
getStatein classRepositoryStateMachine- Returns:
- the state
-
setState
-
getStateMachineContext
public byte[] getStateMachineContext()Description copied from class:RepositoryStateMachineGets the state machine context.- Specified by:
getStateMachineContextin classRepositoryStateMachine- Returns:
- the state machine context
-
setStateMachineContext
public void setStateMachineContext(byte[] stateMachineContext)
-