[rules-users] is the When part java?

wtang wtang at kana.com
Wed Jan 8 02:07:49 EST 2014


the dialect I have set to "java".

Now, I know this make the Then part java.  How about the When part?  Is the
When part ever java when I set the dialect to "java".  My understanding is
that When part is never Java.

I have a map of string and need to support the following operators:

equal
does not equal
contains
does not contain
starts with
end with
matches Reg Ex

I know for equal and does not equal I can do

$map: Map(
	this["Message.label"] == "iPhone" || this["Message.label"] == "iPhone"
)

how about other?

thanks!
         





--
View this message in context: http://drools.46999.n3.nabble.com/is-the-When-part-java-tp4027582.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list