/*
 * Copyright 2010 JBoss Inc
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.drools.container.spring;

import org.drools.event.rule.*;

public class MockAgendaEventListener implements AgendaEventListener {

    public void activationCreated(ActivationCreatedEvent activationCreatedEvent) {
        System.out.println("MockAgendaEventListener:: activationCreated");
    }

    public void activationCancelled(ActivationCancelledEvent activationCancelledEvent) {
        System.out.println("MockAgendaEventListener:: activationCancelled");
    }

    public void beforeActivationFired(BeforeActivationFiredEvent beforeActivationFiredEvent) {
        System.out.println("MockAgendaEventListener:: beforeActivationFired");
        SpringDroolsListenersTest.incrementValueFromListener();
    }

    public void afterActivationFired(AfterActivationFiredEvent afterActivationFiredEvent) {
        System.out.println("MockAgendaEventListener:: afterActivationFired");
    }

    public void agendaGroupPopped(AgendaGroupPoppedEvent agendaGroupPoppedEvent) {
        System.out.println("MockAgendaEventListener:: agendaGroupPopped");
    }

    public void agendaGroupPushed(AgendaGroupPushedEvent agendaGroupPushedEvent) {
        System.out.println("MockAgendaEventListener:: agendaGroupPushed");
    }
}

@@ -1819,10 +1819,719 @@
 ;%0A    %7D%0A
+%0A    public void beforeRuleFlowGroupActivated(RuleFlowGroupActivatedEvent event) %7B%0A        System.out.println(%22MockAgendaEventListener:: beforeRuleFlowGroupActivated%22);%0A    %7D%0A%0A    public void afterRuleFlowGroupActivated(RuleFlowGroupActivatedEvent event) %7B%0A        System.out.println(%22MockAgendaEventListener:: afterRuleFlowGroupActivated%22);%0A    %7D%0A%0A    public void beforeRuleFlowGroupDeactivated(RuleFlowGroupDeactivatedEvent event) %7B%0A        System.out.println(%22MockAgendaEventListener:: beforeRuleFlowGroupDeactivated%22);%0A    %7D%0A%0A    public void afterRuleFlowGroupDeactivated(RuleFlowGroupDeactivatedEvent event) %7B%0A        System.out.println(%22MockAgendaEventListener:: afterRuleFlowGroupDeactivated%22);%0A    %7D%0A%0A
 %7D%0A

fix compile error due to https://github.com/droolsjbpm/droolsjbpm-knowledge/commit/63bea8a9ae46a654242044cfdd1d4d4ac7f02187