Package-level declarations
Types
Completely skips validation
Watches all incoming events with purpose of repeating them later on clean (just constructed) StateMachine instance to reproduce exactly the same StateMachine state as before
This class is intended to be serialized by client code
A constant-size snapshot of an active state configuration. Captured with captureSavedStateConfig and restored with restoreBySavedStateConfig. This type is for data serialization.
Does not allow warnings or failed processing results
Functions
Captures the current active state configuration of this machine as a SavedStateConfig snapshot.
Processes RecordedEvents with purpose of restoring a StateMachine to a state configuration as it was before (when the record was made). Starts the StateMachine if necessary and returns RestorationResult allowing to inspect how the restoration was processed. Specified RestorationResultValidator will be called to validate the result so do not have to remember to perform validation of the RestorationResult.
Blocking restoreByRecordedEvents alternative
Restores this machine to the state configuration described by savedStateConfig. Starts the machine if it is not already started.
Blocking analog of restoreBySavedStateConfig.