Many thanks.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey De Smet
Sent: 13 November 2006 16:04
To: user@drools.codehaus.org
Subject: Re: [drools-user] Drool 3.0.4 Maven POM
It's in the central maven repo under groupId drools
Hi All,
Thanks!
Steven's solution works fine. Thanks Man!
But when the V3.2 will be release? Now even checkout the latest codes from SVN, it still does not support from. (the Version is 3.0.2, even older than 3.0.4).
Thanks
Best Regards
Weily Li
On 11/13/06, Edson Tirelli [EMAIL PROTECTED]
I think what you are doing now is probably ideal already.agenda-group is the same as module in CLIPS/JESS terms (not sure about JRules). Activation group is a kind of unique thing: basically, of all the rules in the same activation group (ie their group has the same name) - only one will fire (in
We haven't exposed that in 3.0 - you could try fitting that in with
something like aspectj.
Mark
ideatopman wrote:
Hi:
My projects needed record ever conditions test results(pass or
nopass) every rule.In drools2.1,
I can use WorkingMemoryEventListener#conditionTested,but 3.0, i
I have no plans to do this at the moment.
If its important then weave in the listener with aspectj.
Mark
ideatopman wrote:
thanks,but when
doesdrools willsupportin it's plan?
For me,this point
is very important,so
I have to waiting for this.
ideatopman
2006-11-14
Is it possible to access the working memory from within a rule or
function?
Example: I have two container objects that refer to another object
(item). Both container have this item in a list.
A rules decides to delete the item and therefore retracts it from the
working memory. But I need to
Torsten,
If the container is asserted in the working memory, just add it to
the rule:
rule Item handling
When
$item : Item(uniqueId)
$container: Container( values contains $item )
Then
if(mustBeDeleted($item)) {
retract($item);
Can I get access to the name of the rule from the java code on the RHS? I
want to say This object triggered the rule called 'name of rule', without
having to copy-n-paste the rule name into the RHS.
--
Dirk Bergstrom [EMAIL PROTECTED]
_
Edson,
Unfortunately, I don't know all containers at design time. But your
second advise works very well.
Thanks,
Torsten.
-Original Message-
From: Edson Tirelli [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 14. November 2006 17:18
To: user@drools.codehaus.org
Subject: Re: [drools-user]
You can try:
then
System.out.println( drools.getRule().getName() );
end
[]s
Edson
Dirk Bergstrom wrote:
Can I get access to the name of the rule from the java code on the RHS? I
want to say This object triggered the rule called 'name of rule', without
having to copy-n-paste the
10 matches
Mail list logo