public abstract class AbstractTerminalNode extends BaseNode implements TerminalNode, Externalizable
associations, id, partitionId, partitionsEnabled| Constructor and Description |
|---|
AbstractTerminalNode() |
AbstractTerminalNode(int id,
RuleBasePartitionId partitionId,
boolean partitionsEnabled,
LeftTupleSource source) |
addAssociation, attach, attach, getAssociations, getId, getPartitionId, hashCode, isInUse, isStreamMode, networkUpdated, remove, removeAssociation, setId, setPartitionId, setStreamMode, toStringclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitgetDeclarations, getSalienceDeclarations, getSubRule, getTimerDeclarations, isFireDirectgetNextLeftTupleSinkNode, getPreviousLeftTupleSinkNode, setNextLeftTupleSinkNode, setPreviousLeftTupleSinkNodeassertLeftTuple, createLeftTuple, createLeftTuple, createLeftTuple, createLeftTuple, createLeftTuple, getLeftInputOtnId, isLeftTupleMemoryEnabled, modifyLeftTuple, retractLeftTuple, setLeftInputOtnId, setLeftTupleMemoryEnabledgetAssociations, getId, getPartitionIdgetIdpublic AbstractTerminalNode()
public AbstractTerminalNode(int id,
RuleBasePartitionId partitionId,
boolean partitionsEnabled,
LeftTupleSource source)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class BaseNodeIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class BaseNodeIOExceptionpublic void initDeclaredMask(BuildContext context)
public void initInferredMask()
initInferredMask in interface TerminalNodepublic LeftTupleSource unwrapTupleSource()
unwrapTupleSource in interface TerminalNodepublic void modifyLeftTuple(InternalFactHandle factHandle, ModifyPreviousTuples modifyPreviousTuples, PropagationContext context, InternalWorkingMemory workingMemory)
modifyLeftTuple in interface LeftTupleSinkpublic abstract RuleImpl getRule()
getRule in interface TerminalNodepublic PathMemory createMemory(RuleBaseConfiguration config, InternalWorkingMemory wm)
createMemory in interface MemoryFactory<PathMemory>public static void initPathMemory(PathMemory pmem, LeftTupleSource tupleSource, LeftTupleSource startTupleSource, InternalWorkingMemory wm, RuleImpl removingRule)
public LeftTuple createPeer(LeftTuple original)
createPeer in interface LeftTupleSinkprotected boolean doRemove(RuleRemovalContext context, ReteooBuilder builder, InternalWorkingMemory[] workingMemories)
BaseNodeObjectSource or TupleSourcepublic LeftTupleSource getLeftTupleSource()
getLeftTupleSource in interface LeftTupleSinkgetLeftTupleSource in interface TerminalNodepublic BitMask getDeclaredMask()
getDeclaredMask in interface TerminalNodepublic BitMask getInferredMask()
getInferredMask in interface TerminalNodepublic BitMask getLeftInferredMask()
getLeftInferredMask in interface LeftTupleSinkpublic void setDeclaredMask(BitMask mask)
setDeclaredMask in interface TerminalNodepublic void setInferredMask(BitMask mask)
setInferredMask in interface TerminalNodepublic BitMask getNegativeMask()
getNegativeMask in interface TerminalNodepublic void setNegativeMask(BitMask mask)
setNegativeMask in interface TerminalNodeCopyright © 2001–2015 JBoss by Red Hat. All rights reserved.