Class TrackingAgendaEventListener

  • All Implemented Interfaces:
    java.util.EventListener, org.kie.api.event.rule.AgendaEventListener

    public class TrackingAgendaEventListener
    extends org.drools.core.event.DefaultAgendaEventListener
    • Constructor Summary

      Constructors 
      Constructor Description
      TrackingAgendaEventListener​(org.jgrapht.Graph<java.lang.String,​it.univaq.gamification.simulation.graph.RelationshipEdge> stateGraph, java.util.Map<java.lang.String,​java.lang.Boolean> rulesEnabledMapping)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterMatchFired​(org.kie.api.event.rule.AfterMatchFiredEvent event)  
      void beforeMatchFired​(org.kie.api.event.rule.BeforeMatchFiredEvent event)  
      • Methods inherited from class org.drools.core.event.DefaultAgendaEventListener

        afterRuleFlowGroupActivated, afterRuleFlowGroupDeactivated, agendaGroupPopped, agendaGroupPushed, beforeRuleFlowGroupActivated, beforeRuleFlowGroupDeactivated, matchCancelled, matchCreated
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TrackingAgendaEventListener

        public TrackingAgendaEventListener​(org.jgrapht.Graph<java.lang.String,​it.univaq.gamification.simulation.graph.RelationshipEdge> stateGraph,
                                           java.util.Map<java.lang.String,​java.lang.Boolean> rulesEnabledMapping)
    • Method Detail

      • beforeMatchFired

        public void beforeMatchFired​(org.kie.api.event.rule.BeforeMatchFiredEvent event)
        Specified by:
        beforeMatchFired in interface org.kie.api.event.rule.AgendaEventListener
        Overrides:
        beforeMatchFired in class org.drools.core.event.DefaultAgendaEventListener
      • afterMatchFired

        public void afterMatchFired​(org.kie.api.event.rule.AfterMatchFiredEvent event)
        Specified by:
        afterMatchFired in interface org.kie.api.event.rule.AgendaEventListener
        Overrides:
        afterMatchFired in class org.drools.core.event.DefaultAgendaEventListener