包名命名成com.xxx.rule 总是报compile error,没法编译drl文件,从昨天下午纳闷到现在,终于发现 解析器把com.xxx当作包名,rule直接被过滤了。 把 rule 改成ruleengine 终于通过。
保留词有:
when , then , rule , end , contains , matches , and , or , modify , retract , assert , salience , function , query , exists , eval , agenda-group , no-loop , duration , -> , not , auto-focus 。
保留词有:
when , then , rule , end , contains , matches , and , or , modify , retract , assert , salience , function , query , exists , eval , agenda-group , no-loop , duration , -> , not , auto-focus 。