Uses of Interface
org.drools.core.reteoo.TerminalNode
Packages that use TerminalNode
Package
Description
This is the engine that works off binary RuleBases, you will mostly use WorkingMemory, RuleBase and RuleBaseFactory
-
Uses of TerminalNode in org.drools.core
Methods in org.drools.core that return TerminalNodeModifier and TypeMethodDescriptionActivationListenerFactory.createActivationListener(int id, LeftTupleSource source, RuleImpl rule, GroupElement subrule, int subruleIndex, BuildContext context, Object... args) QueryActivationListenerFactory.createActivationListener(int id, LeftTupleSource source, RuleImpl rule, GroupElement subrule, int subruleIndex, BuildContext context, Object... args) RuleActivationListenerFactory.createActivationListener(int id, LeftTupleSource source, RuleImpl rule, GroupElement subrule, int subruleIndex, BuildContext context, Object... args) Methods in org.drools.core with parameters of type TerminalNodeModifier and TypeMethodDescriptionvoidWorkingMemoryEntryPoint.delete(FactHandle factHandle, RuleImpl rule, TerminalNode terminalNode) voidWorkingMemoryEntryPoint.delete(FactHandle factHandle, RuleImpl rule, TerminalNode terminalNode, FactHandle.State fhState) -
Uses of TerminalNode in org.drools.core.base
Methods in org.drools.core.base with parameters of type TerminalNodeModifier and TypeMethodDescriptionvoidTraitHelper.deleteWMAssertedTraitProxies(InternalFactHandle handle, RuleImpl rule, TerminalNode terminalNode) -
Uses of TerminalNode in org.drools.core.common
Methods in org.drools.core.common that return TerminalNodeModifier and TypeMethodDescriptionstatic TerminalNodeSuperCacheFixer.asTerminalNode(TupleImpl t) PhreakPropagationContext.getTerminalNodeOrigin()PropagationContext.getTerminalNodeOrigin()Methods in org.drools.core.common with parameters of type TerminalNodeModifier and TypeMethodDescriptionPhreakPropagationContextFactory.createPropagationContext(long number, PropagationContext.Type type, RuleImpl rule, TerminalNode terminalNode, InternalFactHandle factHandle) PhreakPropagationContextFactory.createPropagationContext(long number, PropagationContext.Type type, RuleImpl rule, TerminalNode terminalNode, InternalFactHandle factHandle, EntryPointId entryPoint) PhreakPropagationContextFactory.createPropagationContext(long number, PropagationContext.Type type, RuleImpl rule, TerminalNode terminalNode, InternalFactHandle factHandle, EntryPointId entryPoint, MarshallerReaderContext readerContext) PhreakPropagationContextFactory.createPropagationContext(long number, PropagationContext.Type type, RuleImpl rule, TerminalNode terminalNode, InternalFactHandle factHandle, EntryPointId entryPoint, org.drools.util.bitmask.BitMask modificationMask, Class<?> modifiedClass, MarshallerReaderContext readerContext) PropagationContextFactory.createPropagationContext(long number, PropagationContext.Type type, RuleImpl rule, TerminalNode terminalNode, InternalFactHandle factHandle) PropagationContextFactory.createPropagationContext(long number, PropagationContext.Type type, RuleImpl rule, TerminalNode terminalNode, InternalFactHandle factHandle, EntryPointId entryPoint) PropagationContextFactory.createPropagationContext(long number, PropagationContext.Type type, RuleImpl rule, TerminalNode terminalNode, InternalFactHandle factHandle, EntryPointId entryPoint, MarshallerReaderContext readerContext) PropagationContextFactory.createPropagationContext(long number, PropagationContext.Type type, RuleImpl rule, TerminalNode terminalNode, InternalFactHandle factHandle, EntryPointId entryPoint, org.drools.util.bitmask.BitMask modificationMask, Class<?> modifiedClass, MarshallerReaderContext readerContext) ActivationsManager.createRuleAgendaItem(int salience, PathMemory pathMemory, TerminalNode rtn) InternalWorkingMemoryEntryPoint.delete(InternalFactHandle handle, Object object, ObjectTypeConf typeConf, RuleImpl rule, TerminalNode terminalNode) InternalWorkingMemoryEntryPoint.immediateDelete(InternalFactHandle handle, Object object, ObjectTypeConf typeConf, RuleImpl rule, TerminalNode terminalNode) InternalWorkingMemoryActions.insert(Object object, boolean dynamic, RuleImpl rule, TerminalNode terminalNode) InternalWorkingMemoryEntryPoint.insert(Object object, boolean dynamic, RuleImpl rule, TerminalNode terminalNode) voidInternalWorkingMemoryEntryPoint.insert(InternalFactHandle handle, Object object, RuleImpl rule, TerminalNode terminalNode, ObjectTypeConf typeConf) Constructors in org.drools.core.common with parameters of type TerminalNodeModifierConstructorDescriptionPhreakPropagationContext(long number, PropagationContext.Type type, RuleImpl rule, TerminalNode terminalNode, InternalFactHandle factHandle) PhreakPropagationContext(long number, PropagationContext.Type type, RuleImpl rule, TerminalNode terminalNode, InternalFactHandle factHandle, EntryPointId entryPoint) PhreakPropagationContext(long number, PropagationContext.Type type, RuleImpl rule, TerminalNode terminalNode, InternalFactHandle factHandle, EntryPointId entryPoint, MarshallerReaderContext readerContext) PhreakPropagationContext(long number, PropagationContext.Type type, RuleImpl rule, TerminalNode terminalNode, InternalFactHandle factHandle, EntryPointId entryPoint, org.drools.util.bitmask.BitMask modificationMask, Class<?> modifiedClass, MarshallerReaderContext readerContext) -
Uses of TerminalNode in org.drools.core.impl
Methods in org.drools.core.impl with parameters of type TerminalNodeModifier and TypeMethodDescriptionActivationsManagerImpl.createRuleAgendaItem(int salience, PathMemory pathMemory, TerminalNode rtn) -
Uses of TerminalNode in org.drools.core.phreak
Methods in org.drools.core.phreak that return TerminalNodeMethods in org.drools.core.phreak with parameters of type TerminalNodeModifier and TypeMethodDescriptionvoidEagerPhreakBuilder.addRule(TerminalNode tn, Collection<InternalWorkingMemory> wms, InternalRuleBase kBase) This method is called after the rule nodes have been added to the network For add tuples are processed after the segments and pmems have been adjustedvoidPhreakBuilder.addRule(TerminalNode tn, Collection<InternalWorkingMemory> wms, InternalRuleBase kBase) static SegmentMemory.SegmentPrototype[]BuildtimeSegmentUtilities.createLeftTupleNodeProtoMemories(LeftTupleNode lts, TerminalNode removingTn, InternalRuleBase rbase) static SegmentMemory.SegmentPrototype[]BuildtimeSegmentUtilities.createPathProtoMemories(TerminalNode tn, TerminalNode removingTn, InternalRuleBase rbase) BuildtimeSegmentUtilities.createSegmentMemory(LeftTupleNode segmentRoot, LeftTupleNode segmentTip, int recordBefore, TerminalNode removingTn, InternalRuleBase rbase) Initialises the NodeSegment memory for all nodes in the segment.voidPhreakRuleTerminalNode.doLeftInserts(TerminalNode rtnNode, ActivationsManager activationsManager, TupleSets srcLeftTuples, RuleExecutor executor) static voidPhreakRuleTerminalNode.doLeftTupleInsert(TerminalNode rtnNode, RuleExecutor executor, ActivationsManager activationsManager, RuleAgendaItem ruleAgendaItem, RuleTerminalNodeLeftTuple leftTuple) static voidPhreakRuleTerminalNode.doLeftTupleUpdate(TerminalNode rtnNode, RuleExecutor executor, ActivationsManager activationsManager, RuleTerminalNodeLeftTuple leftTuple) voidPhreakRuleTerminalNode.doLeftUpdates(TerminalNode rtnNode, ActivationsManager activationsManager, TupleSets srcLeftTuples, RuleExecutor executor) voidPhreakRuleTerminalNode.doNode(TerminalNode rtnNode, ActivationsManager activationsManager, TupleSets srcLeftTuples, RuleExecutor executor) static LeftTupleNodeBuildtimeSegmentUtilities.findSegmentRoot(LeftTupleNode tupleSource, TerminalNode ignoreTn) static List<EagerPhreakBuilder.Pair>EagerPhreakBuilder.getExclusiveBranchRoots(TerminalNode tn) static voidEagerPhreakBuilder.Add.insertFacts(TerminalNode tn, InternalWorkingMemory wm, Set<Integer> visited, boolean allBranches) static booleanBuildtimeSegmentUtilities.isAssociatedWith(NetworkNode node, TerminalNode tn) static booleanBuildtimeSegmentUtilities.isNonTerminalTipNode(LeftTupleNode node, TerminalNode removingTN) static booleanBuildtimeSegmentUtilities.isRootNode(LeftTupleNode node, TerminalNode ignoreTn) Returns whether the node is the root of a segment.static booleanBuildtimeSegmentUtilities.isTipNode(LeftTupleNode node, TerminalNode removingTN) Returns whether the node is the tip of a segment.voidEagerPhreakBuilder.removeRule(TerminalNode tn, Collection<InternalWorkingMemory> wms, InternalRuleBase kBase) This method is called before the rule nodes are removed from the network.voidPhreakBuilder.removeRule(TerminalNode tn, Collection<InternalWorkingMemory> wms, InternalRuleBase kBase) static booleanBuildtimeSegmentUtilities.sinkNotExclusivelyAssociatedWithTerminal(TerminalNode removingTN, LeftTupleNode sink) Constructors in org.drools.core.phreak with parameters of type TerminalNodeModifierConstructorDescriptionRuleAgendaItem(int salience, PathMemory pmem, TerminalNode rtn, boolean declarativeAgendaEnabled, InternalAgendaGroup agendaGroup) -
Uses of TerminalNode in org.drools.core.reteoo
Classes in org.drools.core.reteoo that implement TerminalNodeModifier and TypeClassDescriptionclassclassLeaf Rete-OO node responsible for enactingActions on a matchedRule.classLeaf Rete-OO node responsible for enactingActions on a matchedRule.Methods in org.drools.core.reteoo that return TerminalNodeModifier and TypeMethodDescriptionRuleTerminalNodeLeftTuple.getTerminalNode()ReteooBuilder.getTerminalNodes(String ruleName) Methods in org.drools.core.reteoo that return types with arguments of type TerminalNodeModifier and TypeMethodDescriptionReteooBuilder.addRule(RuleImpl rule, Collection<InternalWorkingMemory> workingMemories) Add aRuleto the network.RuleBuilder.addRule(RuleImpl rule, InternalRuleBase kBase, Collection<InternalWorkingMemory> workingMemories) Methods in org.drools.core.reteoo with parameters of type TerminalNodeModifier and TypeMethodDescriptiondefault PathEndNode.PathMemSpecPathEndNode.calculatePathMemSpec(LeftTupleSource startTupleSource, TerminalNode removingTN) voidQueryElementNode.QueryElementNodeMemory.correctMemoryOnSinksChanged(TerminalNode removingTn) AgendaComponentFactory.AgendaComponentFactoryImpl.createAgendaItem(int salience, PathMemory pmem, TerminalNode rtn, boolean declarativeAgendaEnabled, InternalAgendaGroup agendaGroup) AgendaComponentFactory.createAgendaItem(int salience, PathMemory pmem, TerminalNode rtn, boolean declarativeAgendaEnabled, InternalAgendaGroup agendaGroup) LeftTupleSource.getFirstLeftTupleSinkIgnoreRemoving(TerminalNode removingTn) AbstractTerminalNode.getPathMemSpec(TerminalNode removingTN) PathEndNode.getPathMemSpec(TerminalNode removingTN) RightInputAdapterNode.getPathMemSpec(TerminalNode removingTN) used during network build time, potentially during rule removal time.static RuleAgendaItemAlphaTerminalNode.getRuleAgendaItem(ReteEvaluator reteEvaluator, ActivationsManager activationsManager, TerminalNode rtn, boolean linkPmem) voidReteooBuilder.removeTerminalNode(RuleRemovalContext context, TerminalNode tn, Collection<InternalWorkingMemory> workingMemories) voidAbstractTerminalNode.resetPathMemSpec(TerminalNode removingTN) voidPathEndNode.resetPathMemSpec(TerminalNode removingTN) voidRightInputAdapterNode.resetPathMemSpec(TerminalNode removingTN) -
Uses of TerminalNode in org.drools.core.reteoo.builder
Methods in org.drools.core.reteoo.builder that return TerminalNodeModifier and TypeMethodDescriptionNodeFactory.buildQueryTerminalNode(int id, LeftTupleSource source, RuleImpl rule, GroupElement subrule, int subruleIndex, BuildContext context) PhreakNodeFactory.buildQueryTerminalNode(int id, LeftTupleSource source, RuleImpl rule, GroupElement subrule, int subruleIndex, BuildContext context) NodeFactory.buildTerminalNode(int id, LeftTupleSource source, RuleImpl rule, GroupElement subrule, int subruleIndex, BuildContext context) PhreakNodeFactory.buildTerminalNode(int id, LeftTupleSource source, RuleImpl rule, GroupElement subrule, int subruleIndex, BuildContext context) static TerminalNodeReteooRuleBuilder.buildTerminalNodeForConsequence(BuildContext context, GroupElement subrule, int subRuleIndex, NamedConsequence namedConsequence, Timer timer, BuildUtils utils) Methods in org.drools.core.reteoo.builder that return types with arguments of type TerminalNodeModifier and TypeMethodDescriptionReteooRuleBuilder.addRule(RuleImpl rule, InternalRuleBase kBase, Collection<InternalWorkingMemory> workingMemories) Creates the corresponting Rete network for the givenRuleand adds it to the given rule base.BuildContext.getTerminals() -
Uses of TerminalNode in org.drools.core.rule.consequence
Methods in org.drools.core.rule.consequence that return TerminalNode