|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.drools.reteoo.impl.TupleSourceImpl
A source of ReteTuple
s for a TupleSink
.
Nodes that propagate Tuples
extend this class.
TupleSource
,
TupleSinkImpl
,
ReteTuple
Constructor Summary | |
protected |
TupleSourceImpl()
Construct. |
Method Summary | |
TupleSink |
getTupleSink()
Retrieve the TupleSink that receives
propagated Tuples . |
protected void |
propagateAssertTuple(ReteTuple tuple,
WorkingMemory workingMemory)
Propagate the assertion of a Tuple
to this node's TupleSink . |
protected void |
propagateModifyTuples(java.lang.Object trigger,
org.drools.reteoo.impl.TupleSet newTuples,
WorkingMemory workingMemory)
Propagate the modification of Tuple s
to this node's TupleSink . |
protected void |
propagateRetractTuples(org.drools.reteoo.impl.TupleKey key,
WorkingMemory workingMemory)
Propagate the retration of a Tuple
to this node's TupleSink . |
protected void |
setTupleSink(TupleSinkImpl tupleSink)
Set the TupleSink that receives Tuples
propagated from this TupleSource . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.drools.reteoo.TupleSource |
getTupleDeclarations |
Constructor Detail |
protected TupleSourceImpl()
Method Detail |
protected void setTupleSink(TupleSinkImpl tupleSink)
TupleSink
that receives Tuples
propagated from this TupleSource
.
tupleSink
- The TupleSink
to receive
propagated Tuples
.protected void propagateAssertTuple(ReteTuple tuple, WorkingMemory workingMemory) throws AssertionException
Tuple
to this node's TupleSink
.
tuple
- The Tuple
to propagate.workingMemory
- the working memory session.
AssertionException
- If an errors occurs while
attempting assertion.protected void propagateRetractTuples(org.drools.reteoo.impl.TupleKey key, WorkingMemory workingMemory) throws RetractionException
Tuple
to this node's TupleSink
.
key
- The tuple key.workingMemory
- The working memory session.
RetractionException
- If an error occurs while
attempting retractionprotected void propagateModifyTuples(java.lang.Object trigger, org.drools.reteoo.impl.TupleSet newTuples, WorkingMemory workingMemory) throws FactException
Tuple
s
to this node's TupleSink
.
trigger
- The modification trigger object.newTuples
- Modification replacement tuples.workingMemory
- The working memory session.
FactException
- If an error occurs while
attempting modification.public TupleSink getTupleSink()
TupleSink
that receives
propagated Tuples
.
getTupleSink
in interface TupleSource
TupleSink
that receives
propagated Tuples
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |