Now with Drools demo (Rete System to match which level building rules to fire for which PlayerProfiles/Archetypes).
This commit is contained in:
7
rules/BasicAccountRule.drl
Normal file
7
rules/BasicAccountRule.drl
Normal file
@@ -0,0 +1,7 @@
|
||||
package org.drools.examples.simple;
|
||||
rule "Account balance is less than 100"
|
||||
when
|
||||
$account : Account( balance < 100 ) // condition
|
||||
then
|
||||
System.out.println("Account number: " + $account.getId() + " is below 100"); // consequence
|
||||
end
|
||||
Reference in New Issue
Block a user