Drools DRL出口到Java和Python
需要将流口水DRL文件转换为等效的Java和Python代码作为导出功能。是否有任何工具可用,请提供一些见解。否则我们可以使用DRL调试转储可用于导出Java等效代码。请分享您的建议和意见。
There is requirement to convert Drools DRL file into equivalent Java and Python Code as a Export Feature. Please provide some insights whether any tools available for this. Or we can use DRL Debug Dump can be used to export Java equivalent code. Please share your suggestions and inputs.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
DRL没有Java等效代码。 DRL的处理方式以生成节点图(基于rete算法)的方式处理,该节点是在将信息提供给会话时会评估的。
如果您期望获得一些Java课程,并带有一堆
if-else
语句,那么您很不幸。如果您愿意,有多种方法可以导出rete图,但是我敢肯定,这不是您想要的。
There is no Java equivalent code for a DRL. The DRL is processed in a way that generates a graph of nodes (based on the RETE algorithm) that are evaluated when information is made available to a session.
If you were expecting to get some Java classes with a bunch of
if-else
statements, then you are out of luck.There are ways to export the RETE Graph if you want to, but I'm sure that's not what you are looking for.