Initial Commit
This commit is contained in:
8
target/classes/simpleRule.drl
Normal file
8
target/classes/simpleRule.drl
Normal file
@@ -0,0 +1,8 @@
|
||||
import CryptoCoin;
|
||||
|
||||
rule "accountBalanceAtLeast"
|
||||
when
|
||||
$account : Account( balance < 100 )
|
||||
then
|
||||
System.out.println("Warning! money running out!");
|
||||
end
|
||||
Reference in New Issue
Block a user