org.drools.reteoo
Class QueryElementNode.UnificationNodeViewChangedEventListener

java.lang.Object
  extended by org.drools.reteoo.QueryElementNode.UnificationNodeViewChangedEventListener
All Implemented Interfaces:
InternalViewChangedEventListener
Enclosing class:
QueryElementNode

public static class QueryElementNode.UnificationNodeViewChangedEventListener
extends Object
implements InternalViewChangedEventListener


Field Summary
protected  LeftTupleSinkPropagator sink
           
 
Constructor Summary
QueryElementNode.UnificationNodeViewChangedEventListener(LeftTuple leftTuple, int[] variables, LeftTupleSinkPropagator sink, boolean tupleMemoryEnabled)
           
 
Method Summary
 List<? extends Object> getResults()
           
 void rowAdded(Rule rule, LeftTuple resultLeftTuple, PropagationContext context, InternalWorkingMemory workingMemory)
           
 void rowRemoved(Rule rule, LeftTuple tuple, PropagationContext context, InternalWorkingMemory workingMemory)
           
 void rowUpdated(Rule rule, LeftTuple tuple, PropagationContext context, InternalWorkingMemory workingMemory)
           
 void setDroolsQuery(DroolsQuery query)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sink

protected LeftTupleSinkPropagator sink
Constructor Detail

QueryElementNode.UnificationNodeViewChangedEventListener

public QueryElementNode.UnificationNodeViewChangedEventListener(LeftTuple leftTuple,
                                                                int[] variables,
                                                                LeftTupleSinkPropagator sink,
                                                                boolean tupleMemoryEnabled)
Method Detail

setDroolsQuery

public void setDroolsQuery(DroolsQuery query)

rowAdded

public void rowAdded(Rule rule,
                     LeftTuple resultLeftTuple,
                     PropagationContext context,
                     InternalWorkingMemory workingMemory)
Specified by:
rowAdded in interface InternalViewChangedEventListener

rowRemoved

public void rowRemoved(Rule rule,
                       LeftTuple tuple,
                       PropagationContext context,
                       InternalWorkingMemory workingMemory)
Specified by:
rowRemoved in interface InternalViewChangedEventListener

rowUpdated

public void rowUpdated(Rule rule,
                       LeftTuple tuple,
                       PropagationContext context,
                       InternalWorkingMemory workingMemory)
Specified by:
rowUpdated in interface InternalViewChangedEventListener

getResults

public List<? extends Object> getResults()
Specified by:
getResults in interface InternalViewChangedEventListener


Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.