Package org.kie.internal.simulation

Examples of org.kie.internal.simulation.SimulationStep


                this.queue.add( step );
        }
    }

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

        }
    }
View Full Code Here


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

    public KieSessionSimulationFluent 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

                this.queue.add( step );
        }
    }

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

        }
    }
View Full Code Here

TOP

Related Classes of org.kie.internal.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.