|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.drools.common.BaseNode org.drools.reteoo.TupleSource org.drools.reteoo.FromNode
public class FromNode
Field Summary |
---|
Fields inherited from class org.drools.reteoo.TupleSource |
---|
sink |
Fields inherited from class org.drools.common.BaseNode |
---|
hasMemory, id, sharedCount |
Constructor Summary | |
---|---|
FromNode(int id,
DataProvider dataProvider,
TupleSource tupleSource,
AlphaNodeFieldConstraint[] constraints,
BetaConstraints binder)
|
Method Summary | |
---|---|
void |
assertTuple(ReteTuple leftTuple,
PropagationContext context,
InternalWorkingMemory workingMemory)
Assert a new ReteTuple . |
void |
attach()
Attaches the node into the network. |
void |
attach(InternalWorkingMemory[] workingMemories)
|
Object |
createMemory(RuleBaseConfiguration config)
|
TupleSinkNode |
getNextTupleSinkNode()
Returns the next node |
TupleSinkNode |
getPreviousTupleSinkNode()
Returns the previous node |
void |
remove(BaseNode node,
InternalWorkingMemory[] workingMemories)
Removes the node from teh network. |
void |
retractTuple(ReteTuple leftTuple,
PropagationContext context,
InternalWorkingMemory workingMemory)
|
void |
setNextTupleSinkNode(TupleSinkNode next)
Sets the next node |
void |
setPreviousTupleSinkNode(TupleSinkNode previous)
Sets the previous node |
void |
updateSink(TupleSink sink,
PropagationContext context,
InternalWorkingMemory workingMemory)
|
Methods inherited from class org.drools.reteoo.TupleSource |
---|
addTupleSink, getSinkPropagator, removeTupleSink |
Methods inherited from class org.drools.common.BaseNode |
---|
addShare, getId, getSharedCount, hashCode, hasMemory, isInUse, isShared, removeShare, setHasMemory, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.drools.common.NodeMemory |
---|
getId |
Constructor Detail |
---|
public FromNode(int id, DataProvider dataProvider, TupleSource tupleSource, AlphaNodeFieldConstraint[] constraints, BetaConstraints binder)
Method Detail |
---|
public void assertTuple(ReteTuple leftTuple, PropagationContext context, InternalWorkingMemory workingMemory)
TupleSink
ReteTuple
.
assertTuple
in interface TupleSink
leftTuple
- The ReteTuple
to propagate.context
- The PropagationContext
of the WorkingMemory actionworkingMemory
- the WorkingMemory
session.
public void retractTuple(ReteTuple leftTuple, PropagationContext context, InternalWorkingMemory workingMemory)
retractTuple
in interface TupleSink
public void attach()
BaseNode
ObjectSource
or TupleSource
public void attach(InternalWorkingMemory[] workingMemories)
public void remove(BaseNode node, InternalWorkingMemory[] workingMemories)
BaseNode
ObjectSource
or TupleSource
public void updateSink(TupleSink sink, PropagationContext context, InternalWorkingMemory workingMemory)
updateSink
in class TupleSource
public Object createMemory(RuleBaseConfiguration config)
createMemory
in interface NodeMemory
public TupleSinkNode getNextTupleSinkNode()
getNextTupleSinkNode
in interface TupleSinkNode
public void setNextTupleSinkNode(TupleSinkNode next)
setNextTupleSinkNode
in interface TupleSinkNode
next
- The next TupleSinkNodepublic TupleSinkNode getPreviousTupleSinkNode()
getPreviousTupleSinkNode
in interface TupleSinkNode
public void setPreviousTupleSinkNode(TupleSinkNode previous)
setPreviousTupleSinkNode
in interface TupleSinkNode
previous
- The previous TupleSinkNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |