Package org.drools.simulation

Examples of org.drools.simulation.SimulationStep


                this.queue.add( step );
        }
    }

    public void run() {
        SimulationStep step;
        while ( (step = executeNextStep()) != null ) {

        }
    }
View Full Code Here


    public StatefulKnowledgeSessionSimFluent assertRuleFired(String ruleName) {
        return assertRuleFired(ruleName, 1);
    }

    public StatefulKnowledgeSessionSimFluent assertRuleFired(String ruleName, int fireCount) {
        SimulationStep activeStep = ((DefaultSimulationFluent) simulationFluent).getActiveStep();
        FiredRuleCounter firedRuleCounter = new FiredRuleCounter();
        firedRuleCounter.setInclusiveRuleNameList(Collections.singletonList(ruleName));
        insertFireRuleCounter(activeStep, firedRuleCounter);
        AssertRulesFiredCommand assertRulesFiredCommand = new AssertRulesFiredCommand(firedRuleCounter);
        assertRulesFiredCommand.addAssertRuleFired(ruleName, fireCount);
View Full Code Here

TOP

Related Classes of org.drools.simulation.SimulationStep

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.