|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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)
TupleSinkReteTuple.
assertTuple in interface TupleSinkleftTuple - 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 TupleSinkpublic void attach()
BaseNodeObjectSource or TupleSource
public void attach(InternalWorkingMemory[] workingMemories)
public void remove(BaseNode node, InternalWorkingMemory[] workingMemories)
BaseNodeObjectSource or TupleSource
public void updateSink(TupleSink sink, PropagationContext context, InternalWorkingMemory workingMemory)
updateSink in class TupleSourcepublic Object createMemory(RuleBaseConfiguration config)
createMemory in interface NodeMemorypublic TupleSinkNode getNextTupleSinkNode()
getNextTupleSinkNode in interface TupleSinkNodepublic void setNextTupleSinkNode(TupleSinkNode next)
setNextTupleSinkNode in interface TupleSinkNodenext - The next TupleSinkNodepublic TupleSinkNode getPreviousTupleSinkNode()
getPreviousTupleSinkNode in interface TupleSinkNodepublic void setPreviousTupleSinkNode(TupleSinkNode previous)
setPreviousTupleSinkNode in interface TupleSinkNodeprevious - The previous TupleSinkNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||