[rules-users] Check if all activations has been fired for a rule

Michael Anstis michael.anstis at gmail.com
Fri Oct 22 14:42:33 EDT 2010


I downloaded the attachment on
http://article.gmane.org/gmane.comp.java.drools.user/22375 and pasted the
source into a new Drools project.

Worked a treat.

On 22 October 2010 10:52, ravibhatt <ravi at qubitdigital.com> wrote:

>
> thanks for the response Michael. I looked into your solution and this is
> not
> working for me.
>
> I get a discouraged Access and when i try to remove that from
> windows->preferences eclipse is unable to find entire org.drools package.
>
> if i keep settings when i get discouraged access, activationCancelled
> method
> is not visible.
>
> public class MyDefaultAgendaEventListener extends
> org.drools.event.DefaultAgendaEventListener {
>
>  @Override
>  void activationCancelled(org.drools.event.ActivationCancelledEvent event )
> {
>    System.out.println(event.getActivation().getRule().getName()
>        + " cancelled");
>  }
>
> }
> --
> View this message in context:
> http://drools-java-rules-engine.46999.n3.nabble.com/Check-if-all-activations-has-been-fired-for-a-rule-tp1709643p1751616.html
> Sent from the Drools - User mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20101022/7403ecfe/attachment.html 


More information about the rules-users mailing list