Drools :: ReteOO 6.0.0.Final

org.drools.reteoo.nodes
Class ReteQueryElementNode.ReteUnificationNodeViewChangedEventListener

java.lang.Object
  extended by org.drools.core.reteoo.QueryElementNode.UnificationNodeViewChangedEventListener
      extended by org.drools.reteoo.nodes.ReteQueryElementNode.ReteUnificationNodeViewChangedEventListener
All Implemented Interfaces:
org.drools.core.base.InternalViewChangedEventListener
Enclosing class:
ReteQueryElementNode

public static class ReteQueryElementNode.ReteUnificationNodeViewChangedEventListener
extends org.drools.core.reteoo.QueryElementNode.UnificationNodeViewChangedEventListener
implements org.drools.core.base.InternalViewChangedEventListener


Field Summary
 
Fields inherited from class org.drools.core.reteoo.QueryElementNode.UnificationNodeViewChangedEventListener
factHandle, leftTuple, node, tupleMemoryEnabled, variables
 
Constructor Summary
ReteQueryElementNode.ReteUnificationNodeViewChangedEventListener(org.drools.core.reteoo.LeftTuple leftTuple, int[] variables, org.drools.core.reteoo.QueryElementNode node, boolean tupleMemoryEnabled)
           
 
Method Summary
protected  org.drools.core.reteoo.RightTuple createResultRightTuple(org.drools.core.common.QueryElementFactHandle resultHandle, org.drools.core.reteoo.LeftTuple resultLeftTuple, boolean open)
           
 org.drools.core.reteoo.LeftTuple getLeftTuple()
           
 List<? extends Object> getResults()
           
 void rowAdded(org.drools.core.rule.Rule rule, org.drools.core.reteoo.LeftTuple resultLeftTuple, org.drools.core.spi.PropagationContext context, org.drools.core.common.InternalWorkingMemory workingMemory)
           
 void rowRemoved(org.drools.core.rule.Rule rule, org.drools.core.reteoo.LeftTuple resultLeftTuple, org.drools.core.spi.PropagationContext context, org.drools.core.common.InternalWorkingMemory workingMemory)
           
 void rowUpdated(org.drools.core.rule.Rule rule, org.drools.core.reteoo.LeftTuple resultLeftTuple, org.drools.core.spi.PropagationContext context, org.drools.core.common.InternalWorkingMemory workingMemory)
           
 
Methods inherited from class org.drools.core.reteoo.QueryElementNode.UnificationNodeViewChangedEventListener
createQueryResultHandle, getFactHandle, setFactHandle, setVariables
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReteQueryElementNode.ReteUnificationNodeViewChangedEventListener

public ReteQueryElementNode.ReteUnificationNodeViewChangedEventListener(org.drools.core.reteoo.LeftTuple leftTuple,
                                                                        int[] variables,
                                                                        org.drools.core.reteoo.QueryElementNode node,
                                                                        boolean tupleMemoryEnabled)
Method Detail

rowAdded

public void rowAdded(org.drools.core.rule.Rule rule,
                     org.drools.core.reteoo.LeftTuple resultLeftTuple,
                     org.drools.core.spi.PropagationContext context,
                     org.drools.core.common.InternalWorkingMemory workingMemory)
Specified by:
rowAdded in interface org.drools.core.base.InternalViewChangedEventListener
Overrides:
rowAdded in class org.drools.core.reteoo.QueryElementNode.UnificationNodeViewChangedEventListener

createResultRightTuple

protected org.drools.core.reteoo.RightTuple createResultRightTuple(org.drools.core.common.QueryElementFactHandle resultHandle,
                                                                   org.drools.core.reteoo.LeftTuple resultLeftTuple,
                                                                   boolean open)
Overrides:
createResultRightTuple in class org.drools.core.reteoo.QueryElementNode.UnificationNodeViewChangedEventListener

rowRemoved

public void rowRemoved(org.drools.core.rule.Rule rule,
                       org.drools.core.reteoo.LeftTuple resultLeftTuple,
                       org.drools.core.spi.PropagationContext context,
                       org.drools.core.common.InternalWorkingMemory workingMemory)
Specified by:
rowRemoved in interface org.drools.core.base.InternalViewChangedEventListener
Overrides:
rowRemoved in class org.drools.core.reteoo.QueryElementNode.UnificationNodeViewChangedEventListener

rowUpdated

public void rowUpdated(org.drools.core.rule.Rule rule,
                       org.drools.core.reteoo.LeftTuple resultLeftTuple,
                       org.drools.core.spi.PropagationContext context,
                       org.drools.core.common.InternalWorkingMemory workingMemory)
Specified by:
rowUpdated in interface org.drools.core.base.InternalViewChangedEventListener
Overrides:
rowUpdated in class org.drools.core.reteoo.QueryElementNode.UnificationNodeViewChangedEventListener

getResults

public List<? extends Object> getResults()
Specified by:
getResults in interface org.drools.core.base.InternalViewChangedEventListener
Overrides:
getResults in class org.drools.core.reteoo.QueryElementNode.UnificationNodeViewChangedEventListener

getLeftTuple

public org.drools.core.reteoo.LeftTuple getLeftTuple()
Overrides:
getLeftTuple in class org.drools.core.reteoo.QueryElementNode.UnificationNodeViewChangedEventListener

Drools :: ReteOO 6.0.0.Final

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.