Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 701 Bytes

README.adoc

File metadata and controls

40 lines (28 loc) · 701 Bytes

Drools 语法

Rules file structure

drools reference

Keywords

Table 1. Hard keywords

true

false

null

Table 2. Soft keywords

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

Comments

Single line comment
// this is a single line comment
Multi-line comment
/*
this is a multi-line comment
*/