test_fieldbindingsandevalsharing.drl
来自「jboss规则引擎」· DRL 代码 · 共 21 行
DRL
21 行
package org.drools;
global java.util.List list;
#this is to test eval condition node sharing working properly
rule rule1
when
TestParam(val: value1)
eval(val == null)
then
list.add("rule1 fired");
end
rule rule2
when
TestParam(val: value2)
eval(val == null) #note its the same guts, but different binding
then
list.add("rule2 fired");
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?