Package org.springframework.statemachine
Interface StateMachineContextRepository<S,E,T extends StateMachineContext<S,E>>
- Type Parameters:
S
- the type of stateE
- the type of eventT
- The type of state machine context
- All Known Implementing Classes:
RedisStateMachineContextRepository
public interface StateMachineContextRepository<S,E,T extends StateMachineContext<S,E>>
Repository interface for saving and retrieving
StateMachineContext
objects.- Author:
- Janne Valkealahti
-
Method Summary
-
Method Details
-
save
Save a context.- Parameters:
context
- the contextid
- the id
-
getContext
Gets the context.- Parameters:
id
- the id- Returns:
- the context
-