Drools Rules

Inside my application got many if else statement, so i need integrate with Drools, but the drools rules condition only can verify for statement normal expression , but my application need verify for string regular expression or some java epression like startwith , match and some other function.


So do somebody know that drools is support for it or not? or give me some reference link, coz i already did google serach , but all rules condition only use equal, bigger than and some simple math expression only.

Any expert Drools can help ? please

LHS 可以 match regex ...
又可以 eval ... call java statement.
又可以 call function ...

(好似...)

TOP

原帖由 sk2k 於 2008-11-6 12:31 發表
LHS 可以 match regex ...
又可以 eval ... call java statement.
又可以 call function ...

(好似...)



Thank you so much , I know how to do already :

TOP

你地會用乜野方法整Drools 既rules ? 整spreadsheet, 整config file, 定係用佢果個GUI tool?

TOP

原帖由 thinkpanda 於 2008-11-6 16:13 發表
你地會用乜野方法整Drools 既rules ? 整spreadsheet, 整config file, 定係用佢果個GUI tool?


I am using Eclipse and plug in that drools library, then inside eclipse can create a .drl rule already , very simple for create, but very complicated on writing rule statement.

TOP