clara-rules
clara-rules copied to clipboard
Add Java interface for the Inspect library
From a question in the Google group, it seems we might want to expose a Java interface over the inspect functionality.
As a first pass this would likely be labeled as an experimental API and subject to change at any moment.
+1 this could be useful. Some points for consideration:
- Would we want a typical Java approach of having various classes represent the data returned or just Java maps say with keywords transformed to strings?
- How would Clojure expressions of rule conditions etc. be handled? I'm guessing by transformation to strings.
Also we wouldn't necessarily need to support all parts of inspection at first - it could be done incrementally I think.