Eh, I need a marker fact that identifies if a certain rule needs to be
run. So I'm inserting a java.lang.Class<T> object into the session.
The T determines if a rule is activated. Does that make sense?
On Thu, 2007-07-26 at 16:06 +0100, Anstis, Michael (M.) wrote:
Surely this LHS is matched by the pattern
$sc : SomeClass()
???
-----Original Message-----
From: rules-users-bounces(a)lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Eric Miles
Sent: 26 July 2007 15:19
To: rules-users(a)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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users