public abstract class StandardNode extends BaseNode implements Supplier
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Receiver> |
children |
nodeId, reteContainer, tag, traceInfos
Constructor and Description |
---|
StandardNode(ReteContainer reteContainer) |
Modifier and Type | Method and Description |
---|---|
void |
appendChild(Receiver receiver)
appends a receiver that will continously receive insert and revoke updates from this supplier
|
ProjectionIndexer |
constructIndex(TupleMask mask,
TraceInfo... traces)
Instantiates (or reuses, depending on implementation) an index according to the given mask.
|
java.util.Set<Tuple> |
getPulledContents()
Returns the contents of this object in this particular moment.
|
java.util.Collection<Receiver> |
getReceivers()
lists receivers
|
protected void |
issueError(java.lang.String message,
java.lang.Exception ex) |
protected void |
propagateUpdate(Direction direction,
Tuple updateElement) |
void |
removeChild(Receiver receiver)
removes a receiver
|
acceptPropagatedTraceInfo, assignTraceInfo, getContainer, getNodeId, getTag, getTraceInfoPatternsEnumerated, getTraceInfos, setTag, toString, toStringCore
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
acceptPropagatedTraceInfo, assignTraceInfo, getContainer, getNodeId, getTag, getTraceInfos, setTag
protected java.util.List<Receiver> children
public StandardNode(ReteContainer reteContainer)
public void appendChild(Receiver receiver)
Supplier
appendChild
in interface Supplier
public void removeChild(Receiver receiver)
Supplier
removeChild
in interface Supplier
public java.util.Collection<Receiver> getReceivers()
Supplier
getReceivers
in interface Supplier
public java.util.Set<Tuple> getPulledContents()
Supplier
Intended mainly for debug purposes, therefore does not do flushing.
During runtime, flushing may be preferred; see ReteContainer.pullContents(Supplier)
getPulledContents
in interface Supplier
public ProjectionIndexer constructIndex(TupleMask mask, TraceInfo... traces)
Supplier
constructIndex
in interface Supplier
protected void issueError(java.lang.String message, java.lang.Exception ex)