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: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Eric Miles
> Sent: 26 July 2007 15:19
> To: [email protected]
> 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
> [email protected]
> https://lists.jboss.org/mailman/listinfo/rules-users
> 
> _______________________________________________
> rules-users mailing list
> [email protected]
> https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to