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.common | |
org.drools.core.reteoo | |
org.drools.core.reteoo.builder | |
org.drools.core.rule |
Contains the binary representations of rule constructs, like Package (which the compiler produces), Rule, and Conditional Elements.
|
org.drools.core.spi |
Modifier and Type | Method and Description |
---|---|
TerminalNode |
ActivationListenerFactory.createActivationListener(int id,
LeftTupleSource source,
Rule rule,
GroupElement subrule,
int subruleIndex,
BuildContext context,
Object... args) |
TerminalNode |
QueryActivationListenerFactory.createActivationListener(int id,
LeftTupleSource source,
Rule rule,
GroupElement subrule,
int subruleIndex,
BuildContext context,
Object... args) |
TerminalNode |
RuleActivationListenerFactory.createActivationListener(int id,
LeftTupleSource source,
Rule rule,
GroupElement subrule,
int subruleIndex,
BuildContext context,
Object... args) |
Modifier and Type | Method and Description |
---|---|
GroupElement |
AgendaItemImpl.getSubRule() |
GroupElement |
AgendaItem.getSubRule() |
GroupElement |
ScheduledAgendaItem.getSubRule() |
Modifier and Type | Field and Description |
---|---|
protected GroupElement |
RuleTerminalNode.subrule
the subrule reference is needed to resolve declarations
because declarations may have different offsets in each subrule
|
Modifier and Type | Method and Description |
---|---|
GroupElement |
QueryTerminalNode.getSubRule() |
GroupElement |
RuleTerminalNodeLeftTuple.getSubRule() |
GroupElement |
TerminalNode.getSubRule() |
GroupElement |
RuleTerminalNode.getSubRule() |
Constructor and Description |
---|
QueryTerminalNode(int id,
LeftTupleSource source,
Rule rule,
GroupElement subrule,
int subruleIndex,
BuildContext context)
Constructor
|
RuleTerminalNode(int id,
LeftTupleSource source,
Rule rule,
GroupElement subrule,
int subruleIndex,
BuildContext context) |
Modifier and Type | Method and Description |
---|---|
GroupElement |
BuildContext.getSubRule() |
Modifier and Type | Method and Description |
---|---|
TerminalNode |
PhreakNodeFactory.buildQueryTerminalNode(int id,
LeftTupleSource source,
Rule rule,
GroupElement subrule,
int subruleIndex,
BuildContext context) |
TerminalNode |
NodeFactory.buildQueryTerminalNode(int id,
LeftTupleSource source,
Rule rule,
GroupElement subrule,
int subruleIndex,
BuildContext context) |
TerminalNode |
PhreakNodeFactory.buildTerminalNode(int id,
LeftTupleSource source,
Rule rule,
GroupElement subrule,
int subruleIndex,
BuildContext context) |
TerminalNode |
NodeFactory.buildTerminalNode(int id,
LeftTupleSource source,
Rule rule,
GroupElement subrule,
int subruleIndex,
BuildContext context) |
TemporalDependencyMatrix |
BuildUtils.calculateTemporalDistance(GroupElement groupElement)
Calculates the temporal distance between all event patterns in the given
subrule.
|
void |
BuildContext.setSubRule(GroupElement subRule) |
Modifier and Type | Method and Description |
---|---|
GroupElement |
GroupElement.clone()
Clones all Conditional Elements but references the non ConditionalElement
children
|
protected GroupElement |
GroupElement.clone(boolean deepClone) |
GroupElement |
GroupElement.cloneOnlyGroup() |
GroupElement |
Rule.getLhs()
Retrieve the
List of Conditions for this
rule. |
GroupElement[] |
Rule.getTransformedLhs(LogicTransformer transformer)
Uses the LogicTransformer to process the Rule patters - if no ORs are
used this will return an array of a single AND element.
|
static GroupElement |
GroupElementFactory.newAndInstance() |
static GroupElement |
GroupElementFactory.newExistsInstance() |
static GroupElement |
GroupElementFactory.newNotInstance() |
static GroupElement |
GroupElementFactory.newOrInstance() |
protected GroupElement[] |
LogicTransformer.splitOr(GroupElement cloned) |
GroupElement[] |
LogicTransformer.transform(GroupElement cloned) |
Modifier and Type | Method and Description |
---|---|
protected void |
LogicTransformer.fixClonedDeclarations(GroupElement and)
During the logic transformation, we eventually clone CEs,
specially patterns and corresponding declarations.
|
protected void |
GroupElement.mergeGroupElements(GroupElement parent,
GroupElement child) |
void |
GroupElement.pack(GroupElement parent) |
protected void |
LogicTransformer.processTree(GroupElement ce)
Traverses a Tree, during the process it transforms Or nodes moving the
upwards and it removes duplicate logic statement, this does not include
Not nodes.
|
void |
Rule.setLhs(GroupElement lhsRoot) |
protected GroupElement[] |
LogicTransformer.splitOr(GroupElement cloned) |
GroupElement[] |
LogicTransformer.transform(GroupElement cloned) |
void |
LogicTransformer.NotOrTransformation.transform(GroupElement parent) |
Modifier and Type | Method and Description |
---|---|
GroupElement |
Activation.getSubRule()
Retrieve the subrule that was activated.
|
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.