|
||||||||||
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.ObjectSource
public abstract class ObjectSource
A source of FactHandle
s for an ObjectSink
.
Nodes that propagate FactHandleImpl
extend this class.
ObjectSource
,
DefaultFactHandle
,
Serialized FormField Summary | |
---|---|
protected ObjectSource |
objectSource
|
protected ObjectSinkPropagator |
sink
The destination for FactHandleImpl . |
Fields inherited from class org.drools.common.BaseNode |
---|
id |
Method Summary | |
---|---|
protected void |
addObjectSink(ObjectSink objectSink)
Adds the ObjectSink so that it may receive
FactHandleImpl propagated from this
ObjectSource . |
ObjectSinkPropagator |
getSinkPropagator()
|
boolean |
isInUse()
Returns true in case the current node is in use (is referenced by any other node) |
protected void |
removeObjectSink(ObjectSink objectSink)
Removes the ObjectSink |
abstract void |
updateSink(ObjectSink 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 ObjectSinkPropagator sink
FactHandleImpl
.
protected ObjectSource objectSource
Method Detail |
---|
protected void addObjectSink(ObjectSink objectSink)
ObjectSink
so that it may receive
FactHandleImpl
propagated from this
ObjectSource
.
objectSink
- The ObjectSink
to receive propagated
FactHandleImpl
.protected void removeObjectSink(ObjectSink objectSink)
ObjectSink
objectSink
- The ObjectSink
to removepublic abstract void updateSink(ObjectSink sink, PropagationContext context, InternalWorkingMemory workingMemory)
public ObjectSinkPropagator getSinkPropagator()
public boolean isInUse()
BaseNode
isInUse
in class BaseNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |