public class BuildContext extends Object
Constructor and Description |
---|
BuildContext(InternalKnowledgeBase kBase) |
public BuildContext(InternalKnowledgeBase kBase)
public boolean isEmptyForAllBetaConstraints()
public int getCurrentPatternOffset()
public ObjectSource getObjectSource()
public void setObjectSource(ObjectSource objectSource)
objectSource
- the objectSource to setpublic LinkedList<Pattern> getObjectType()
public void setObjectType(LinkedList<Pattern> objectType)
objectType
- the objectType to setpublic LeftTupleSource getTupleSource()
public void setTupleSource(LeftTupleSource tupleSource)
tupleSource
- the tupleSource to setpublic void incrementCurrentPatternOffset()
public void decrementCurrentPatternOffset()
public InternalKnowledgeBase getKnowledgeBase()
public InternalWorkingMemory[] getWorkingMemories()
public int getNextId()
public int getNextId(String topic)
public void releaseId(NetworkNode node)
public void push(RuleConditionElement rce)
public RuleConditionElement pop()
public RuleConditionElement peek()
public List<BetaNodeFieldConstraint> getBetaconstraints()
public void setBetaconstraints(List<BetaNodeFieldConstraint> betaconstraints)
public List<AlphaNodeFieldConstraint> getAlphaConstraints()
public void addPathEndNode(PathEndNode node)
public boolean isTupleMemoryEnabled()
public void setTupleMemoryEnabled(boolean hasLeftMemory)
public boolean isObjectTypeNodeMemoryEnabled()
public void setObjectTypeNodeMemoryEnabled(boolean hasObjectTypeMemory)
public boolean isQuery()
public EntryPointId getCurrentEntryPoint()
public void setCurrentEntryPoint(EntryPointId currentEntryPoint)
currentEntryPoint
- the currentEntryPoint to setpublic RuleBasePartitionId getPartitionId()
public void setPartitionId(RuleBasePartitionId partitionId)
partitionId
- the partitionId to setpublic boolean isStreamMode()
public long getExpirationOffset(Pattern pattern)
public RuleImpl getRule()
public void setRule(RuleImpl rule)
public GroupElement getSubRule()
public RuleComponent popRuleComponent()
public RuleComponent peekRuleComponent()
public void pushRuleComponent(RuleComponent ruleComponent)
public ObjectTypeNode getRootObjectTypeNode()
public void setRootObjectTypeNode(ObjectTypeNode source)
public Pattern[] getLastBuiltPatterns()
public void setLastBuiltPattern(Pattern lastBuiltPattern)
public KieComponentFactory getComponentFactory()
public String getConsequenceName()
public void setConsequenceName(String consequenceName)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.