drools规则引擎关键字(六)

Drools的关键字分为:

    硬关键字(Hard keywords)和软关键字(Soft keywords)。

    硬关键字是我们在规则文件中定义包名或者规则名时明确不能使用的,否则程序会报错。软关键字虽然可以使用,但是不建议使用。在定义规则名的时候如果过加上双引号,会默认为字符串,此时可以使用 关键字,但是不建议这样使用。

    硬关键字包括:true false null

    软关键字包括:lock-on-active date-effective date-expires no-loop auto-focus activation-group agenda-group ruleflow-group entry-point duration package import dialect salience enabled attributes rule extend when then template query declare function global eval not in or and exists forall accumulate collect from action reverse result end over init

你可能感兴趣的:(drools规则引擎,java)