public class PathMemory extends AbstractBaseLinkedListNode<Memory> implements Memory
Modifier and Type | Field and Description |
---|---|
boolean |
dataDriven |
protected static boolean |
isLogTraceEnabled |
protected static org.slf4j.Logger |
log |
Constructor and Description |
---|
PathMemory(PathEndNode pathEndNode,
InternalWorkingMemory wm) |
getNext, getPrevious, nullPrevNext, setNext, setPrevious
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getOrCreateSegmentMemory
getPrevious, nullPrevNext, setPrevious
protected static final org.slf4j.Logger log
protected static final boolean isLogTraceEnabled
public final boolean dataDriven
public PathMemory(PathEndNode pathEndNode, InternalWorkingMemory wm)
protected boolean initDataDriven(InternalWorkingMemory wm)
protected boolean isRuleDataDriven(InternalWorkingMemory wm, RuleImpl rule)
public PathEndNode getPathEndNode()
public RuleImpl getRule()
public RuleAgendaItem getRuleAgendaItem()
public long getLinkedSegmentMask()
public long getAllLinkedMaskTest()
public void setAllLinkedMaskTest(long allLinkedTestMask)
public void linkNodeWithoutRuleNotify(long mask)
public void linkSegment(long mask, InternalWorkingMemory wm)
public RuleAgendaItem getOrCreateRuleAgendaItem(InternalAgenda agenda)
public void doLinkRule(InternalWorkingMemory wm)
public void doLinkRule(InternalAgenda agenda)
public void doUnlinkRule(InternalWorkingMemory wm)
public void doUnlinkRule(InternalAgenda agenda)
public void queueRuleAgendaItem(InternalAgenda agenda)
public void unlinkedSegment(long mask, InternalWorkingMemory wm)
public boolean isRuleLinked()
public boolean isDataDriven()
public short getNodeType()
getNodeType
in interface Memory
public boolean isInitialized()
public SegmentMemory[] getSegmentMemories()
public void setSegmentMemory(int index, SegmentMemory sm)
public void setSegmentMemories(SegmentMemory[] segmentMemories)
public SegmentMemory getSegmentMemory()
getSegmentMemory
in interface Memory
public void setSegmentMemory(SegmentMemory sm)
setSegmentMemory
in interface Memory
public InternalAgenda getActualAgenda(InternalWorkingMemory wm)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.