|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.reteoo.builder.BuildContext
public class BuildContext
A build context for Reteoo Builder
Constructor Summary | |
---|---|
BuildContext(InternalRuleBase rulebase,
ReteooBuilder.IdGenerator idGenerator)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BuildContext(InternalRuleBase rulebase, ReteooBuilder.IdGenerator idGenerator)
Method Detail |
---|
public int getCurrentPatternOffset()
public void setCurrentPatternOffset(int currentPatternIndex)
currentPatternOffset
- the currentPatternOffset to setpublic void syncObjectTypesWithPatternOffset()
public ObjectSource getObjectSource()
public void setObjectSource(ObjectSource objectSource)
objectSource
- the objectSource to setpublic LinkedList getObjectType()
public void setObjectType(LinkedList 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 getBetaconstraints()
public void setBetaconstraints(List betaconstraints)
betaconstraints
- the betaconstraints to setpublic int getNextSequence(String groupName)
public List getAlphaConstraints()
public void setAlphaConstraints(List alphaConstraints)
public boolean isTupleMemoryEnabled()
public void setTupleMemoryEnabled(boolean hasLeftMemory)
public boolean isObjectTypeNodeMemoryEnabled()
public void setObjectTypeNodeMemoryEnabled(boolean hasObjectTypeMemory)
public void setAlphaNodeMemoryAllowed(boolean alphaMemoryAllowed)
public boolean isAlphaMemoryAllowed()
public boolean isQuery()
public EntryPoint getCurrentEntryPoint()
public void setCurrentEntryPoint(EntryPoint currentEntryPoint)
currentEntryPoint
- the currentEntryPoint to setpublic List<Behavior> getBehaviors()
public void setBehaviors(List<Behavior> behaviors)
behaviors
- the behaviours to setpublic List<BaseNode> getNodes()
public void setNodes(List<BaseNode> nodes)
nodes
- the nodes to setpublic RuleBasePartitionId getPartitionId()
public void setPartitionId(RuleBasePartitionId partitionId)
partitionId
- the partitionId to setpublic void setTemporalDistance(TemporalDependencyMatrix temporal)
public TemporalDependencyMatrix getTemporalDistance()
public LinkedList<RuleConditionElement> getBuildStack()
public Rule getRule()
public void setRule(Rule rule)
public RuleComponent popRuleComponent()
public RuleComponent peekRuleComponent()
public void pushRuleComponent(RuleComponent ruleComponent)
public void setRootObjectTypeNode(ObjectTypeNode source)
public ObjectTypeNode getRootObjectTypeNode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |