Hi
When using the method call option , I can do things like this:
transitFrom[fromStateName]To[toStateName]On[eventName]When[conditionName]
transitFrom[fromStateName]To[toStateName]On[eventName]
transitFromAnyTo[toStateName]On[eventName]
transitFrom[fromStateName]ToAnyOn[eventName]
transitFrom[fromStateName]To[toStateName]
on[eventName]
Is it possible to achive something like :
transitFromAnyTo[toStateName]On[eventName]
or
transitFrom[fromStateName]ToAnyOn[eventName]
with the fluent api ?
Like so :
builder.externalTransition().from(<ANY>).to(State.FINISHED)
.on(Event.WALKDIR_SUCCEEDED).perform(new FinishedAction());
From what I can see in the api doc, this is not possible in a straightforward way. What would be the best way to do this ?
Thanks
mycircuit