Spring state machine builder using StateTransition object
<p>I couldn't find any reference with this functionality. Shall I just implement a helper method in the builder to read fields in StateTransition object and populate the chain configureTransition() call by myself??</p>

<p>Just to confirm not to reinvent the wheels.</p>

<p>UPDATE:
I'm trying to use StateMachineBuilder to configure with some pre-defined states and transitions in a properties file. In Builder, they use this chained call to generate configuration:</p>

<p>builder.configureTransitions().withExternal().source(s1)....</p>

<p>What I have in mind is, everything read from the file is stored in an object, the spring sm library has this StateTransition object. But as far as I know from the API, there is no way to use it directly to configure a state machine. Instead, I can read individual fields in the object and use the chained call above.</p>

<p>Thanks!</p>