|
||||||||||
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
public abstract class TupleSource
A source of ReteTuple
s for a TupleSink
.
Nodes that propagate Tuples
extend this class.
TupleSource
,
ReteTuple
,
Serialized FormField Summary | |
---|---|
protected TupleSinkPropagator |
sink
The destination for Tuples . |
Fields inherited from class org.drools.common.BaseNode |
---|
id |
Method Summary | |
---|---|
protected void |
addTupleSink(TupleSink tupleSink)
Adds the TupleSink so that it may receive
Tuples propagated from this TupleSource . |
TupleSinkPropagator |
getSinkPropagator()
|
boolean |
isInUse()
Returns true in case the current node is in use (is referenced by any other node) |
protected void |
removeTupleSink(TupleSink tupleSink)
Removes the TupleSink |
abstract void |
updateSink(TupleSink sink,
PropagationContext context,
InternalWorkingMemory workingMemory)
|
Methods inherited from class org.drools.common.BaseNode |
---|
attach, attach, getId, hashCode, remove, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected TupleSinkPropagator sink
Tuples
.
Method Detail |
---|
protected void addTupleSink(TupleSink tupleSink)
TupleSink
so that it may receive
Tuples
propagated from this TupleSource
.
tupleSink
- The TupleSink
to receive propagated
Tuples
.protected void removeTupleSink(TupleSink tupleSink)
TupleSink
tupleSink
- The TupleSink
to removepublic TupleSinkPropagator getSinkPropagator()
public abstract void updateSink(TupleSink sink, PropagationContext context, InternalWorkingMemory workingMemory)
public boolean isInUse()
BaseNode
isInUse
in class BaseNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |