S
- the type of stateE
- the type of eventpublic interface StateMachineModelFactory<S,E>
StateMachineModel
s.Modifier and Type | Method and Description |
---|---|
StateMachineModel<S,E> |
build()
Builds the state machine model.
|
StateMachineModel<S,E> |
build(java.lang.String machineId)
Builds the state machine model with a given
machineId . |
StateMachineModel<S,E> build()
StateMachineModel<S,E> build(java.lang.String machineId)
machineId
.
Implementation is free to choose what to do with a given machineId
but usually it might map to a different configurations supported
by storage or repository in a factory.machineId
- the machine id