2. Who am I?
● Victor Polischuk
● A man with a terrible character.
● Java architect, team leader and coach.
● 10+ years of software development experience.
● 8+ years of Java experience.
● 2+ years of Drools usage.
● Employed at Infopulse
13. if (…) {
if (…) {
if (…) {…}
if (…) {…} else {...}
} else if (…) {
if (…) {…} else {...}
} else {
throw new Exception(...);
}
} else if (…) {
if (…) {
if (…) {…}
} else {
if (…) {…}
}
if (…) {
if (…) {…} else {...}
} else {
if (…) {…}
}
} else {
if (…) {…} else {...}
}
27. Rule Structure
rule “<unique name>”
[<rule attributes (grouping, priority, etc)>]
when
[<LHS (can be zero or more conditions)>]
then
[<RHS (can be zero or more commands)>]
end