clara-rules icon indicating copy to clipboard operation
clara-rules copied to clipboard

Add Java interface for the Inspect library

Open EthanEChristian opened this issue 4 years ago • 1 comments

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.

EthanEChristian avatar May 18 '20 15:05 EthanEChristian

+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.

WilliamParker avatar Jun 14 '20 22:06 WilliamParker