Package org.drools.event

Examples of org.drools.event.RuleFlowEventListenerExtension


        ruleBase.addPackage( pkg );
        StatefulSession session = ruleBase.newStatefulSession();

        final List<ProcessEvent> processEventList = new ArrayList<ProcessEvent>();

        final RuleFlowEventListenerExtension listener = new RuleFlowEventListenerExtension() {

            public void beforeVariableChange(RuleFlowVariableChangeEvent event, WorkingMemory workingMemory) {
              System.out.println("beforeVariableChange " + event);
                processEventList.add(event);
            }
View Full Code Here


        ruleBase.addPackage( pkg );
        StatefulSession session = ruleBase.newStatefulSession();

        final List<ProcessEvent> processEventList = new ArrayList<ProcessEvent>();

        final RuleFlowEventListenerExtension listener = new RuleFlowEventListenerExtension() {

            public void beforeVariableChange(RuleFlowVariableChangeEvent event, WorkingMemory workingMemory) {
                processEventList.add(event);
            }
View Full Code Here

TOP

Related Classes of org.drools.event.RuleFlowEventListenerExtension

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.