Package org.drools.reteoo

Examples of org.drools.reteoo.RuleTerminalNode.assertLeftTuple()


                                                                       rtn,
                                                                       tupleMemoryEnabled );
                   
                    leftTuple.setObject( branchedLeftTuple );
                   
                    rtn.assertLeftTuple( branchedLeftTuple, leftTuple.getPropagationContext(), wm );
                    breaking = conditionalExecution.isBreaking();
                }

                if ( !breaking ) {
                    trgLeftTuples.addInsert( sink.createLeftTuple( leftTuple, 
View Full Code Here


                        rtnLeftTuple = newRtn.createLeftTuple( leftTuple, 
                                                               newRtn,
                                                               tupleMemoryEnabled );
                       
                        leftTuple.setObject( rtnLeftTuple );                       
                        newRtn.assertLeftTuple( rtnLeftTuple, rtnLeftTuple.getPropagationContext(), wm );                       
                    }

                } else if ( newRtn != null) {
                    // old does not exist, new exists, so insert
                    rtnLeftTuple = newRtn.createLeftTuple( leftTuple, 
View Full Code Here

                    rtnLeftTuple = newRtn.createLeftTuple( leftTuple, 
                                                           newRtn,
                                                           tupleMemoryEnabled );
                   
                    leftTuple.setObject( rtnLeftTuple );                       
                    newRtn.assertLeftTuple( rtnLeftTuple, rtnLeftTuple.getPropagationContext(), wm );                   
                }
               
                // Handle main branch
                if ( mainLeftTuple != null ) {
                    switch ( mainLeftTuple.getStagedType() ) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.