Drools 6.5中的Ruleflow组与议程组 [英] ruleflow-group vs agenda-group in Drools 6.5

查看:218
本文介绍了Drools 6.5中的Ruleflow组与议程组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Drools 6.5中创建两个独立的规则组,但我无法弄清规则流组和议程组策略的用例。两者看起来都很相似。

I am trying to create two independent groups of rules in Drools 6.5 and I can't figure out what's the usecase for the ruleflow-group and agenda-group strategies. They both seem similar.

推荐答案

阅读文档...

2.6.4。 RuleFowGroup和AgendaGroups合并了

2.6.4. RuleFowGroup and AgendaGroups are merged

这两个组已经合并,现在RuleFlowGroup的行为与AgendaGroups相同。出于弃用的原因,保留了get方法,但是它们都返回相同的基础数据。现在,jBPM激活组时,它仅调用setFocus。一起使用RuleFlowGroups和AgendaGroups会继续导致错误。它还使代码库与PHREAK和将来计划的多核开发保持一致。

These two groups have been merged and now RuleFlowGroup's behave the same as AgendaGroups. The get methods have been left, for deprecation reasons, but both return the same underlying data. When jBPM activates a group it now just calls setFocus. RuleFlowGroups and AgendaGroups when used together was a continued source of errors. It also aligns the codebase, towards PHREAK and the multi-core explotation that is planned in the future.

这篇关于Drools 6.5中的Ruleflow组与议程组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆