Package | Description |
---|---|
org.drools.core |
This is the engine that works off binary RuleBases, you will mostly use WorkingMemory, RuleBase and RuleBaseFactory
|
org.drools.core.base | |
org.drools.core.common | |
org.drools.core.impl | |
org.drools.core.marshalling.impl | |
org.drools.core.phreak | |
org.drools.core.reteoo | |
org.drools.core.reteoo.builder | |
org.drools.core.spi |
Modifier and Type | Method and Description |
---|---|
TerminalNode |
RuleActivationListenerFactory.createActivationListener(int id,
LeftTupleSource source,
RuleImpl rule,
GroupElement subrule,
int subruleIndex,
BuildContext context,
Object... args) |
TerminalNode |
QueryActivationListenerFactory.createActivationListener(int id,
LeftTupleSource source,
RuleImpl rule,
GroupElement subrule,
int subruleIndex,
BuildContext context,
Object... args) |
TerminalNode |
ActivationListenerFactory.createActivationListener(int id,
LeftTupleSource source,
RuleImpl rule,
GroupElement subrule,
int subruleIndex,
BuildContext context,
Object... args) |
Modifier and Type | Method and Description |
---|---|
void |
WorkingMemoryEntryPoint.delete(org.kie.api.runtime.rule.FactHandle factHandle,
RuleImpl rule,
TerminalNode terminalNode) |
void |
WorkingMemoryEntryPoint.delete(org.kie.api.runtime.rule.FactHandle factHandle,
RuleImpl rule,
TerminalNode terminalNode,
org.kie.api.runtime.rule.FactHandle.State fhState) |
Modifier and Type | Method and Description |
---|---|
void |
WrappedStatefulKnowledgeSessionForRHS.delete(org.kie.api.runtime.rule.FactHandle handle,
RuleImpl rule,
TerminalNode terminalNode) |
void |
WrappedStatefulKnowledgeSessionForRHS.delete(org.kie.api.runtime.rule.FactHandle factHandle,
RuleImpl rule,
TerminalNode terminalNode,
org.kie.api.runtime.rule.FactHandle.State fhState) |
void |
TraitHelper.deleteWMAssertedTraitProxies(InternalFactHandle handle,
RuleImpl rule,
TerminalNode terminalNode) |
org.kie.api.runtime.rule.FactHandle |
WrappedStatefulKnowledgeSessionForRHS.insert(Object object,
boolean dynamic,
RuleImpl rule,
TerminalNode terminalNode) |
Modifier and Type | Method and Description |
---|---|
TerminalNode |
AgendaItemImpl.getTerminalNode() |
TerminalNode |
AgendaItem.getTerminalNode() |
TerminalNode |
PhreakPropagationContext.getTerminalNodeOrigin() |
Modifier and Type | Method and Description |
---|---|
boolean |
ActivationsFilter.accept(Activation activation,
InternalWorkingMemory workingMemory,
TerminalNode rtn)
Returns true if a new activation should be created for the given propagation
or false otherwise
|
void |
CompositeDefaultAgenda.cancelActivation(Tuple leftTuple,
PropagationContext context,
Activation activation,
TerminalNode rtn) |
void |
InternalAgenda.cancelActivation(Tuple leftTuple,
PropagationContext context,
Activation activation,
TerminalNode rtn) |
void |
DefaultAgenda.cancelActivation(Tuple leftTuple,
PropagationContext context,
Activation activation,
TerminalNode rtn) |
PropagationContext |
PropagationContextFactory.createPropagationContext(long number,
PropagationContext.Type type,
RuleImpl rule,
TerminalNode terminalNode,
InternalFactHandle factHandle) |
PropagationContext |
PhreakPropagationContextFactory.createPropagationContext(long number,
PropagationContext.Type type,
RuleImpl rule,
TerminalNode terminalNode,
InternalFactHandle factHandle) |
PropagationContext |
PropagationContextFactory.createPropagationContext(long number,
PropagationContext.Type type,
RuleImpl rule,
TerminalNode terminalNode,
InternalFactHandle factHandle,
EntryPointId entryPoint) |
PropagationContext |
PhreakPropagationContextFactory.createPropagationContext(long number,
PropagationContext.Type type,
RuleImpl rule,
TerminalNode terminalNode,
InternalFactHandle factHandle,
EntryPointId entryPoint) |
PropagationContext |
PropagationContextFactory.createPropagationContext(long number,
PropagationContext.Type type,
RuleImpl rule,
TerminalNode terminalNode,
InternalFactHandle factHandle,
EntryPointId entryPoint,
BitMask modificationMask,
Class<?> modifiedClass,
MarshallerReaderContext readerContext) |
PropagationContext |
PhreakPropagationContextFactory.createPropagationContext(long number,
PropagationContext.Type type,
RuleImpl rule,
TerminalNode terminalNode,
InternalFactHandle factHandle,
EntryPointId entryPoint,
BitMask modificationMask,
Class<?> modifiedClass,
MarshallerReaderContext readerContext) |
PropagationContext |
PropagationContextFactory.createPropagationContext(long number,
PropagationContext.Type type,
RuleImpl rule,
TerminalNode terminalNode,
InternalFactHandle factHandle,
EntryPointId entryPoint,
MarshallerReaderContext readerContext) |
PropagationContext |
PhreakPropagationContextFactory.createPropagationContext(long number,
PropagationContext.Type type,
RuleImpl rule,
TerminalNode terminalNode,
InternalFactHandle factHandle,
EntryPointId entryPoint,
MarshallerReaderContext readerContext) |
RuleAgendaItem |
CompositeDefaultAgenda.createRuleAgendaItem(int salience,
PathMemory rs,
TerminalNode rtn) |
RuleAgendaItem |
InternalAgenda.createRuleAgendaItem(int salience,
PathMemory rs,
TerminalNode rtn) |
RuleAgendaItem |
DefaultAgenda.createRuleAgendaItem(int salience,
PathMemory rs,
TerminalNode rtn) |
void |
DisconnectedWorkingMemoryEntryPoint.delete(org.kie.api.runtime.rule.FactHandle factHandle,
RuleImpl rule,
TerminalNode terminalNode) |
void |
NamedEntryPoint.delete(org.kie.api.runtime.rule.FactHandle factHandle,
RuleImpl rule,
TerminalNode terminalNode) |
void |
DynamicEntryPoint.delete(org.kie.api.runtime.rule.FactHandle factHandle,
RuleImpl rule,
TerminalNode terminalNode,
org.kie.api.runtime.rule.FactHandle.State fhState) |
void |
DisconnectedWorkingMemoryEntryPoint.delete(org.kie.api.runtime.rule.FactHandle factHandle,
RuleImpl rule,
TerminalNode terminalNode,
org.kie.api.runtime.rule.FactHandle.State fhState) |
void |
NamedEntryPoint.delete(org.kie.api.runtime.rule.FactHandle factHandle,
RuleImpl rule,
TerminalNode terminalNode,
org.kie.api.runtime.rule.FactHandle.State fhState) |
PropagationContext |
InternalWorkingMemoryEntryPoint.delete(InternalFactHandle handle,
Object object,
ObjectTypeConf typeConf,
RuleImpl rule,
Activation activation,
TerminalNode terminalNode) |
PropagationContext |
NamedEntryPoint.delete(InternalFactHandle handle,
Object object,
ObjectTypeConf typeConf,
RuleImpl rule,
Activation activation,
TerminalNode terminalNode) |
void |
InternalWorkingMemoryEntryPoint.insert(InternalFactHandle handle,
Object object,
RuleImpl rule,
TerminalNode terminalNode,
ObjectTypeConf typeConf) |
void |
NamedEntryPoint.insert(InternalFactHandle handle,
Object object,
RuleImpl rule,
TerminalNode terminalNode,
ObjectTypeConf typeConf) |
org.kie.api.runtime.rule.FactHandle |
InternalWorkingMemoryActions.insert(Object object,
boolean dynamic,
RuleImpl rule,
TerminalNode terminalNode) |
org.kie.api.runtime.rule.FactHandle |
DynamicEntryPoint.insert(Object object,
boolean dynamic,
RuleImpl rule,
TerminalNode terminalNode) |
org.kie.api.runtime.rule.FactHandle |
InternalWorkingMemoryEntryPoint.insert(Object object,
boolean dynamic,
RuleImpl rule,
TerminalNode terminalNode) |
org.kie.api.runtime.rule.FactHandle |
NamedEntryPoint.insert(Object object,
boolean dynamic,
RuleImpl rule,
TerminalNode terminalNode) |
Modifier and Type | Method and Description |
---|---|
void |
StatefulKnowledgeSessionImpl.delete(org.kie.api.runtime.rule.FactHandle factHandle,
RuleImpl rule,
TerminalNode terminalNode) |
void |
StatefulKnowledgeSessionImpl.delete(org.kie.api.runtime.rule.FactHandle factHandle,
RuleImpl rule,
TerminalNode terminalNode,
org.kie.api.runtime.rule.FactHandle.State fhState) |
org.kie.api.runtime.rule.FactHandle |
StatefulKnowledgeSessionImpl.insert(Object object,
boolean dynamic,
RuleImpl rule,
TerminalNode terminalNode) |
Modifier and Type | Method and Description |
---|---|
boolean |
ProtobufInputMarshaller.PBActivationsFilter.accept(Activation activation,
InternalWorkingMemory workingMemory,
TerminalNode rtn) |
Modifier and Type | Method and Description |
---|---|
static void |
AddRemoveRule.addRule(TerminalNode tn,
InternalWorkingMemory[] wms,
InternalKnowledgeBase 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 adjusted
|
void |
PhreakRuleTerminalNode.doLeftInserts(TerminalNode rtnNode,
InternalAgenda agenda,
TupleSets<LeftTuple> srcLeftTuples,
RuleExecutor executor) |
static void |
PhreakRuleTerminalNode.doLeftTupleInsert(TerminalNode rtnNode,
RuleExecutor executor,
InternalAgenda agenda,
RuleAgendaItem ruleAgendaItem,
int salienceInt,
Salience salience,
LeftTuple leftTuple) |
static void |
PhreakRuleTerminalNode.doLeftTupleUpdate(TerminalNode rtnNode,
RuleExecutor executor,
InternalAgenda agenda,
int salienceInt,
Salience salience,
LeftTuple leftTuple) |
void |
PhreakRuleTerminalNode.doLeftUpdates(TerminalNode rtnNode,
InternalAgenda agenda,
TupleSets<LeftTuple> srcLeftTuples,
RuleExecutor executor) |
void |
PhreakRuleTerminalNode.doNode(TerminalNode rtnNode,
InternalAgenda agenda,
TupleSets<LeftTuple> srcLeftTuples,
RuleExecutor executor) |
void |
AddRemoveRule.ExistingPathStrategy.handleSplit(PathMemory pmem,
SegmentMemory[] prevSmems,
SegmentMemory[] smems,
int smemIndex,
int prevSmemIndex,
LeftTupleNode parentNode,
LeftTupleNode node,
TerminalNode tn,
Set<LeftTupleNode> visited,
Set<SegmentMemory> smemsToNotify,
Map<LeftTupleNode,SegmentMemory> nodeToSegmentMap,
InternalWorkingMemory wm) |
void |
AddRemoveRule.AddExistingPaths.handleSplit(PathMemory pmem,
SegmentMemory[] prevSmems,
SegmentMemory[] smems,
int smemIndex,
int prevSmemIndex,
LeftTupleNode parentNode,
LeftTupleNode node,
TerminalNode tn,
Set<LeftTupleNode> visited,
Set<SegmentMemory> smemsToNotify,
Map<LeftTupleNode,SegmentMemory> nodeToSegmentMap,
InternalWorkingMemory wm) |
void |
AddRemoveRule.RemoveExistingPaths.handleSplit(PathMemory pmem,
SegmentMemory[] prevSmems,
SegmentMemory[] smems,
int smemIndex,
int prevSmemIndex,
LeftTupleNode parentNode,
LeftTupleNode node,
TerminalNode tn,
Set<LeftTupleNode> visited,
Set<SegmentMemory> smemsToNotify,
Map<LeftTupleNode,SegmentMemory> nodeToSegmentMap,
InternalWorkingMemory wm) |
static boolean |
SegmentUtilities.isNonTerminalTipNode(LeftTupleNode node,
TerminalNode removingTN) |
static boolean |
SegmentUtilities.isRootNode(LeftTupleNode node,
TerminalNode removingTN)
Returns whether the node is the root of a segment.
|
static boolean |
SegmentUtilities.isTipNode(LeftTupleNode node,
TerminalNode removingTN)
Returns whether the node is the tip of a segment.
|
static void |
AddRemoveRule.removeRule(TerminalNode tn,
InternalWorkingMemory[] wms,
InternalKnowledgeBase kBase)
This method is called before the rule nodes are removed from the network.
|
Constructor and Description |
---|
RuleAgendaItem(long activationNumber,
Tuple tuple,
int salience,
PropagationContext context,
PathMemory pmem,
TerminalNode rtn,
boolean declarativeAgendaEnabled,
InternalAgendaGroup agendaGroup) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTerminalNode |
class |
QueryTerminalNode
Leaf Rete-OO node responsible for enacting
Action s on a
matched Rule . |
class |
RuleTerminalNode
Leaf Rete-OO node responsible for enacting
Action s on a
matched Rule . |
Modifier and Type | Method and Description |
---|---|
TerminalNode |
RuleTerminalNodeLeftTuple.getTerminalNode() |
Modifier and Type | Method and Description |
---|---|
List<TerminalNode> |
RuleBuilder.addRule(RuleImpl rule,
InternalKnowledgeBase kBase) |
Modifier and Type | Method and Description |
---|---|
default PathEndNode.PathMemSpec |
PathEndNode.calculatePathMemSpec(LeftTupleSource startTupleSource,
TerminalNode removingTN) |
void |
QueryElementNode.QueryElementNodeMemory.correctMemoryOnSinksChanged(TerminalNode removingTN) |
void |
ReteooBuilder.removeTerminalNode(RuleRemovalContext context,
TerminalNode tn,
InternalWorkingMemory[] workingMemories) |
void |
RightInputAdapterNode.resetPathMemSpec(TerminalNode removingTN) |
void |
AbstractTerminalNode.resetPathMemSpec(TerminalNode removingTN) |
void |
PathEndNode.resetPathMemSpec(TerminalNode removingTN) |
Modifier and Type | Method and Description |
---|---|
TerminalNode |
NodeFactory.buildQueryTerminalNode(int id,
LeftTupleSource source,
RuleImpl rule,
GroupElement subrule,
int subruleIndex,
BuildContext context) |
TerminalNode |
PhreakNodeFactory.buildQueryTerminalNode(int id,
LeftTupleSource source,
RuleImpl rule,
GroupElement subrule,
int subruleIndex,
BuildContext context) |
TerminalNode |
NodeFactory.buildTerminalNode(int id,
LeftTupleSource source,
RuleImpl rule,
GroupElement subrule,
int subruleIndex,
BuildContext context) |
TerminalNode |
PhreakNodeFactory.buildTerminalNode(int id,
LeftTupleSource source,
RuleImpl rule,
GroupElement subrule,
int subruleIndex,
BuildContext context) |
Modifier and Type | Method and Description |
---|---|
List<TerminalNode> |
ReteooRuleBuilder.addRule(RuleImpl rule,
InternalKnowledgeBase kBase)
Creates the corresponting Rete network for the given
Rule and adds it to
the given rule base. |
Modifier and Type | Method and Description |
---|---|
TerminalNode |
PropagationContext.getTerminalNodeOrigin() |
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.