当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
TupleSource (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.reteoo
Class TupleSource
java.lang.Object
org.drools.common.BaseNode
org.drools.reteoo.TupleSource
- All Implemented Interfaces:
- Serializable, NetworkNode
- Direct Known Subclasses:
- AccumulateNode, CollectNode, EvalConditionNode, ExistsNode, FromNode, JoinNode, LeftInputAdapterNode, NotNode
public abstract class TupleSource
- extends BaseNode
- implements Serializable
A source of ReteTuple
s for a TupleSink
.
Nodes that propagate Tuples
extend this class.
- Author:
- Mark Proctor, Bob McWhirter
- See Also:
TupleSource
,
ReteTuple
,
Serialized Form
Methods inherited from class org.drools.common.BaseNode |
addShare, attach, attach, getId, getSharedCount, hashCode, hasMemory, isInUse, isShared, remove, removeShare, setHasMemory, toString |
sink
protected TupleSinkPropagator sink
- The destination for
Tuples
.
addTupleSink
protected void addTupleSink(TupleSink tupleSink)
- Adds the
TupleSink
so that it may receive
Tuples
propagated from this TupleSource
.
- Parameters:
tupleSink
- The TupleSink
to receive propagated
Tuples
.
removeTupleSink
protected void removeTupleSink(TupleSink tupleSink)
- Removes the
TupleSink
- Parameters:
tupleSink
- The TupleSink
to remove
getSinkPropagator
public TupleSinkPropagator getSinkPropagator()
updateSink
public abstract void updateSink(TupleSink sink,
PropagationContext context,
InternalWorkingMemory workingMemory)
Copyright © 2001-2007
JBoss Inc.. All Rights Reserved.