public class BuildContext extends Object
Constructor and Description |
---|
BuildContext(InternalRuleBase rulebase,
ReteooBuilder.IdGenerator idGenerator) |
public BuildContext(InternalRuleBase rulebase, ReteooBuilder.IdGenerator idGenerator)
public boolean isEmptyForAllBetaConstraints()
public void setEmptyForAllBetaConstraints(boolean emptyForAllBetaConstraints)
public int getCurrentPatternOffset()
public void setCurrentPatternOffset(int currentPatternIndex)
currentPatternIndex
- the currentPatternOffset to setpublic void syncObjectTypesWithPatternOffset()
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 InternalRuleBase getRuleBase()
public InternalWorkingMemory[] getWorkingMemories()
public int getNextId()
public void releaseId(int id)
public void push(RuleConditionElement rce)
rce
- public RuleConditionElement pop()
public RuleConditionElement peek()
public ListIterator<RuleConditionElement> stackIterator()
public List<BetaNodeFieldConstraint> getBetaconstraints()
public void setBetaconstraints(List<BetaNodeFieldConstraint> betaconstraints)
betaconstraints
- the betaconstraints to setpublic List<AlphaNodeFieldConstraint> getAlphaConstraints()
public void setAlphaConstraints(List<AlphaNodeFieldConstraint> alphaConstraints)
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 TemporalDependencyMatrix getTemporalDistance()
public void setTemporalDistance(TemporalDependencyMatrix temporal)
public LinkedList<RuleConditionElement> getBuildStack()
public Rule getRule()
public void setRule(Rule rule)
public GroupElement getSubRule()
public void setSubRule(GroupElement subRule)
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 boolean isAttachPQN()
public void setAttachPQN(boolean attachPQN)
public KieComponentFactory getComponentFactory()
public void setComponentFactory(KieComponentFactory componentFactory)
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.