[rules-users] Quick syntax question

Anstis, Michael (M.) manstis1 at ford.com
Thu Jul 26 11:06:11 EDT 2007


Surely this LHS is matched by the pattern

$sc : SomeClass()

??? 

-----Original Message-----
From: rules-users-bounces at lists.jboss.org
[mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Eric Miles
Sent: 26 July 2007 15:19
To: rules-users at lists.jboss.org
Subject: [rules-users] Quick syntax question

Is there an easier way to write this LHS?

Class(name == 'com.mycompany.SomeClass')

It would be nice to do something like this:

Class(name == SomeClass.class.getName())

Suggestions?

Thanks all!

_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users




More information about the rules-users mailing list