rossko57
(Rossko57)
2
What do you find lacking in that example?
A browse through all the “design patterns” is a good grounding in capabilities of rules DSL.
This may be the wheel already invented -
I think you may need
val HashMap<String, Object> functionMap = new HashMap()
I think you need either
val Functions$Function2 execCommands = [ ...
or
val execCommands = [ ...