1. 首页
  2. 安全技术
  3. 系统安全
  4. Drools5规则引擎学习研究

Drools5规则引擎学习研究

上传者: 2020-10-30 18:30:38上传 DOCX文件 249.45KB 热度 18次
/* 测试规则 */ rule "rule1" when $customer :Customer(); then setOrder($customer,5); System.out.println("rule 1 customer has order size:"+$customer.getOrders().size()); end /* 测试规则 */ rule "rule2" when $customer :Customer(); then setOrder($customer,10); System.out.println("rule 2 customer has order size:
用户评论