It actually does equals() comparison when it can - that is drools not guvnor specific (there might be some exceptions I am not aware of to this). In rules, generally you are talking about values of things, the fact that there are pointers to things which may happen to point to the same thing in memory is an implementation detail which probably would confuse - hence it uses equals.
I like to add or change the existing operators in the condition part for eligibility rules.
- equal to
- not equal to
- matches
- sounds like
For instance I like to distinguish between reference compare "==" and deep comparison with "object.equals()". Any ideas how I can achieve that? Any hints where I can have a look in order to start with that? (links, class names etc.)
Thank you in advance
regards
Mark
_______________________________________________
rules-dev mailing list
rules-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev