[rules-users] Evaluate rules for multiple facts of the same type within a StateuflSession

pdario dario.piantanida at gmail.com
Fri Feb 8 10:10:14 EST 2013


I'll try to make it; in the meanwhile, do you find this meaningful?

==>[ActivationCreatedEvent: getActivation()=[Activation rule=TEST, act#=0,
salience=0, tuple=[fact 0:1:30100654:78406:1:DEFAULT:ONE]
], getKnowledgeRuntime()=org.drools.impl.StatefulKnowledgeSessionImpl at 4703c]
==>[ObjectInsertedEventImpl: getFactHandle()=[fact
0:1:30100654:78406:1:DEFAULT:ONE], getObject()=ONE,
getKnowledgeRuntime()=org.drools.impl.StatefulKnowledgeSessionImpl at 4703c,
getPropagationContext()=PropagationContextImpl [activeActivations=0,
dormantActivations=0, entryPoint=EntryPoint::DEFAULT, factHandle=[fact
0:1:30100654:78406:1:DEFAULT:ONE], leftTuple=null, originOffset=-1,
propagationNumber=3, rule=null, type=0]]
==>[ActivationCreatedEvent: getActivation()=[Activation rule=TEST, act#=1,
salience=0, tuple=[fact 0:2:30649454:83500:2:DEFAULT:TWO]
], getKnowledgeRuntime()=org.drools.impl.StatefulKnowledgeSessionImpl at 4703c]
==>[ObjectInsertedEventImpl: getFactHandle()=[fact
0:2:30649454:83500:2:DEFAULT:TWO], getObject()=TWO,
getKnowledgeRuntime()=org.drools.impl.StatefulKnowledgeSessionImpl at 4703c,
getPropagationContext()=PropagationContextImpl [activeActivations=1,
dormantActivations=0, entryPoint=EntryPoint::DEFAULT, factHandle=[fact
0:2:30649454:83500:2:DEFAULT:TWO], leftTuple=null, originOffset=-1,
propagationNumber=4, rule=null, type=0]]
TWO
==>[BeforeActivationFiredEvent:  getActivation()=[Activation rule=TEST,
act#=1, salience=0, tuple=[fact 0:2:30649454:83500:2:DEFAULT:TWO]
], getKnowledgeRuntime()=org.drools.impl.StatefulKnowledgeSessionImpl at 4703c]
==>[ActivationCancelledEvent: getCause()=CLEAR, getActivation()=[Activation
rule=TEST, act#=0, salience=0, tuple=[fact 0:1:30100654:78406:1:DEFAULT:ONE]
], getKnowledgeRuntime()=org.drools.impl.StatefulKnowledgeSessionImpl at 4703c]
==>[AfterActivationFiredEvent: getActivation()=[Activation rule=TEST,
act#=1, salience=0, tuple=[fact 0:2:30649454:83500:2:DEFAULT:TWO]
], getKnowledgeRuntime()=org.drools.impl.StatefulKnowledgeSessionImpl at 4703c]
Direct Line, l'assicurazione online con il famoso Telefono Rosso e il Mouse
sulle Ruote. Nel 1985 Direct Line ha rivoluzionato il mercato nel Regno
Unito lanciando per prima la vendita diretta di polizze auto. In Italia ha
vinto nel 2008 il primo premio per i clienti piu' soddisfatti.
www.directline.it RESTRICTED: This e-mail (including any linked or attached
documents) is intended for the addressee/s only and may contain
confidential, proprietary or legally privileged information. Please do not
distribute further without prior permission from the author 




--
View this message in context: http://drools.46999.n3.nabble.com/Evaluate-rules-for-multiple-facts-of-the-same-type-within-a-StateuflSession-tp4022157p4022162.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list