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.definitions.rule.impl | |
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,
RuleImpl rule,
GroupElement subrule,
int subruleIndex,
BuildContext context,
Object... args) |
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) |
Modifier and Type | Method and Description |
---|---|
GroupElement |
AgendaItemImpl.getSubRule() |
GroupElement |
VisitedAgendaGroup.getSubRule() |
GroupElement |
ScheduledAgendaItem.getSubRule() |
Modifier and Type | Method and Description |
---|---|
GroupElement |
RuleImpl.getLhs()
Retrieve the
List of Conditions for this
rule. |
GroupElement[] |
RuleImpl.getTransformedLhs(LogicTransformer transformer,
Map<String,Class<?>> globals)
Uses the LogicTransformer to process the Rule patters - if no ORs are
used this will return an array of a single AND element.
|
Modifier and Type | Method and Description |
---|---|
void |
RuleImpl.setLhs(GroupElement lhsRoot) |
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 |
RuleTerminalNode.getSubRule() |
GroupElement |
RuleTerminalNodeLeftTuple.getSubRule() |
GroupElement |
TerminalNode.getSubRule() |
Constructor and Description |
---|
QueryTerminalNode(int id,
LeftTupleSource source,
RuleImpl rule,
GroupElement subrule,
int subruleIndex,
BuildContext context)
Constructor
|
RuleTerminalNode(int id,
LeftTupleSource source,
RuleImpl rule,
GroupElement subrule,
int subruleIndex,
BuildContext context) |
Modifier and Type | Method and Description |
---|---|
GroupElement |
BuildContext.getSubRule() |
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) |
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() |
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,
Map<String,Class<?>> globals) |
Modifier and Type | Method and Description |
---|---|
protected void |
LogicTransformer.fixClonedDeclarations(GroupElement and,
Map<String,Class<?>> globals)
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 boolean |
LogicTransformer.processTree(GroupElement ce) |
protected GroupElement[] |
LogicTransformer.splitOr(GroupElement cloned) |
void |
LogicTransformer.NotOrTransformation.transform(GroupElement parent) |
GroupElement[] |
LogicTransformer.transform(GroupElement cloned,
Map<String,Class<?>> globals) |
Modifier and Type | Method and Description |
---|---|
GroupElement |
Activation.getSubRule()
Retrieve the subrule that was activated.
|
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.