I am new to Spring StateMachine and very interested in creating a State Machine using UML2 diagram with Eclipse Papyrus.
During my tests with 2.0.2 I was surprised to see UmlStateMachineModelFactory only accepts String events and states and not enums:
public class UmlStateMachineModelFactory extends AbstractStateMachineModelFactory<String, String>
implements StateMachineModelFactory<String, String>
Is there a specific reason to not accept generics StateMachine in this factory? If it proves to be possible, would you accept a Pull Request changing this behaviour?
I am new to Spring StateMachine and very interested in creating a State Machine using UML2 diagram with Eclipse Papyrus.
During my tests with 2.0.2 I was surprised to see
UmlStateMachineModelFactory
only acceptsString
events and states and not enums:Is there a specific reason to not accept generics StateMachine in this factory? If it proves to be possible, would you accept a Pull Request changing this behaviour?