Examples of removeLeftTuple()


Examples of org.drools.core.common.InternalFactHandle.removeLeftTuple()

            if (fh.getFirstLeftTuple() != null ) {
                for (LeftTuple childLt = fh.getFirstLeftTuple(); childLt != null; ) {
                    LeftTuple next = childLt.getLeftParentNext();
                    //stagedLeftTuples
                    if ( childLt.getSink() == lian ) {
                        fh.removeLeftTuple(childLt);
                    }
                    childLt = next;
                }
            }
        }
View Full Code Here

Examples of org.drools.core.common.InternalFactHandle.removeLeftTuple()

        // replace left
        if ( leftPrevious == null && leftNext == null ) {
            // no other tuples, simply replace
            if ( isHandle ) {
                fh.removeLeftTuple( peer );
                fh.addFirstLeftTuple( newPeer );
            }   else {
                 peer.unlinkFromLeftParent();
                 leftParent.setFirstChild(newPeer);
                 leftParent.setLastChild(newPeer);
View Full Code Here

Examples of org.drools.core.common.InternalFactHandle.removeLeftTuple()

            if (fh.getFirstLeftTuple() != null ) {
                for (LeftTuple childLt = fh.getFirstLeftTuple(); childLt != null; ) {
                    LeftTuple next = childLt.getLeftParentNext();
                    //stagedLeftTuples
                    if ( childLt.getSink() == lian ) {
                        fh.removeLeftTuple(childLt);
                    }
                    childLt = next;
                }
            }
        }
View Full Code Here

Examples of org.drools.core.common.InternalFactHandle.removeLeftTuple()

        // replace left
        if ( leftPrevious == null && leftNext == null ) {
            // no other tuples, simply replace
            if ( isHandle ) {
                fh.removeLeftTuple( peer );
                fh.addFirstLeftTuple( newPeer );
            }   else {
                 peer.unlinkFromLeftParent();
                 leftParent.setFirstChild(newPeer);
                 leftParent.setLastChild(newPeer);
View Full Code Here

Examples of org.drools.core.common.InternalFactHandle.removeLeftTuple()

            if (fh.getFirstLeftTuple() != null ) {
                for (LeftTuple childLt = fh.getFirstLeftTuple(); childLt != null; ) {
                    LeftTuple next = childLt.getLeftParentNext();
                    //stagedLeftTuples
                    if ( childLt.getSink() == lian ) {
                        fh.removeLeftTuple(childLt);
                    }
                    childLt = next;
                }
            }
        }
View Full Code Here

Examples of org.drools.core.common.InternalFactHandle.removeLeftTuple()

        // replace left
        if ( leftPrevious == null && leftNext == null ) {
            // no other tuples, simply replace
            if ( isHandle ) {
                fh.removeLeftTuple( peer );
                fh.addFirstLeftTuple( newPeer );
            }   else {
                 peer.unlinkFromLeftParent();
                 leftParent.setFirstChild(newPeer);
                 leftParent.setLastChild(newPeer);
View Full Code Here

Examples of org.drools.core.common.InternalFactHandle.removeLeftTuple()

            if (fh.getFirstLeftTuple() != null ) {
                for (LeftTuple childLt = fh.getFirstLeftTuple(); childLt != null; ) {
                    LeftTuple next = childLt.getLeftParentNext();
                    //stagedLeftTuples
                    if ( childLt.getSink() == lian ) {
                        fh.removeLeftTuple(childLt);
                    }
                    childLt = next;
                }
            }
        }
View Full Code Here

Examples of org.drools.core.common.InternalFactHandle.removeLeftTuple()

        // replace left
        if ( leftPrevious == null && leftNext == null ) {
            // no other tuples, simply replace
            if ( isHandle ) {
                fh.removeLeftTuple( peer );
                fh.addFirstLeftTuple( newPeer );
            }   else {
                 peer.unlinkFromLeftParent();
                 leftParent.setFirstChild(newPeer);
                 leftParent.setLastChild(newPeer);
View Full Code Here

Examples of org.drools.core.phreak.RuleExecutor.removeLeftTuple()

            if ( activation.isQueued() ) {
                activation.setQueued(false);
                activation.remove();

                RuleExecutor ruleExec = ((RuleTerminalNodeLeftTuple)activation).getRuleAgendaItem().getRuleExecutor();
                ruleExec.removeLeftTuple((LeftTuple) activation);
                eventsupport.getAgendaEventSupport().fireActivationCancelled( activation,
                                                                              this.workingMemory,
                                                                              MatchCancelledCause.CLEAR );
            }
        }
View Full Code Here

Examples of org.drools.core.phreak.RuleExecutor.removeLeftTuple()

            if ( activation.isQueued() ) {
                activation.setQueued(false);
                activation.remove();

                RuleExecutor ruleExec = ((RuleTerminalNodeLeftTuple)activation).getRuleAgendaItem().getRuleExecutor();
                ruleExec.removeLeftTuple((LeftTuple) activation);
                eventsupport.getAgendaEventSupport().fireActivationCancelled( activation,
                                                                              this.workingMemory,
                                                                              MatchCancelledCause.CLEAR );
            }
        }
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.