| 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.audit |
This is a utility for providing audit trails/explanations of rule actions.
|
| org.drools.core.base | |
| org.drools.core.base.accumulators | |
| org.drools.core.common | |
| org.drools.core.definitions.rule.impl | |
| org.drools.core.event |
Events provide all sorts of call backs to monitor the engine as it is running.
|
| org.drools.core.event.rule.impl | |
| org.drools.core.factmodel.traits | |
| org.drools.core.impl | |
| org.drools.core.reteoo | |
| 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 | |
| org.drools.core.util.debug |
| Modifier and Type | Field and Description |
|---|---|
protected WorkingMemory |
QueryResultsImpl.workingMemory |
| Constructor and Description |
|---|
QueryResultsImpl(List<QueryRowWithSubruleIndex> results,
Map<String,Declaration>[] declarations,
WorkingMemory workingMemory,
Declaration[] parameters) |
QueryResultsRowImpl(QueryRowWithSubruleIndex row,
WorkingMemory workingMemory,
QueryResultsImpl queryResults) |
| Constructor and Description |
|---|
ThreadedWorkingMemoryFileLogger(WorkingMemory workingMemory) |
WorkingMemoryConsoleLogger(WorkingMemory workingMemory) |
WorkingMemoryFileLogger(WorkingMemory workingMemory)
Creates a new WorkingMemoryFileLogger for the given working memory.
|
WorkingMemoryInMemoryLogger(WorkingMemory workingMemory) |
WorkingMemoryLogger(WorkingMemory workingMemory)
Creates a new working memory logger for the given working memory.
|
| Modifier and Type | Class and Description |
|---|---|
class |
WrappedStatefulKnowledgeSessionForRHS
Wrapper of StatefulKnowledgeSessionImpl so to intercept call from RHS internal Drools execution and proxy or delegate method call as appropriate.
|
| Modifier and Type | Method and Description |
|---|---|
WorkingMemory |
JavaFactRegistryEntry.getWorkingMemory() |
WorkingMemory |
DefaultKnowledgeHelper.getWorkingMemory() |
| Modifier and Type | Method and Description |
|---|---|
protected WrappedStatefulKnowledgeSessionForRHS |
DefaultKnowledgeHelper.createWrappedSession(WorkingMemory workingMemory) |
GlobalResolver |
ReferenceOriginalGlobalExporter.export(WorkingMemory workingMemory) |
int |
SalienceInteger.getValue(KnowledgeHelper khelper,
org.kie.api.definition.rule.Rule rule,
WorkingMemory workingMemory) |
boolean |
EnabledBoolean.getValue(Tuple tuple,
Declaration[] declarations,
RuleImpl rule,
WorkingMemory workingMemory) |
| Constructor and Description |
|---|
DefaultKnowledgeHelper(Activation activation,
WorkingMemory workingMemory) |
DefaultKnowledgeHelper(WorkingMemory workingMemory) |
JavaFactRegistryEntry(WorkingMemory workingMemory,
org.kie.api.runtime.rule.FactHandle handle) |
WrappedStatefulKnowledgeSessionForRHS(WorkingMemory workingMemory) |
| Modifier and Type | Method and Description |
|---|---|
Object |
JavaAccumulatorFunctionExecutor.accumulate(Object workingMemoryContext,
Object context,
Tuple leftTuple,
InternalFactHandle handle,
Declaration[] declarations,
Declaration[] innerDeclarations,
WorkingMemory workingMemory) |
Object |
CollectAccumulator.accumulate(Object workingMemoryContext,
Object context,
Tuple leftTuple,
InternalFactHandle handle,
Declaration[] declarations,
Declaration[] innerDeclarations,
WorkingMemory workingMemory) |
Object |
JavaAccumulatorFunctionExecutor.getResult(Object workingMemoryContext,
Object context,
Tuple leftTuple,
Declaration[] declarations,
WorkingMemory workingMemory) |
Object |
CollectAccumulator.getResult(Object workingMemoryContext,
Object context,
Tuple leftTuple,
Declaration[] declarations,
WorkingMemory workingMemory) |
Object |
JavaAccumulatorFunctionExecutor.init(Object workingMemoryContext,
Object context,
Tuple leftTuple,
Declaration[] declarations,
WorkingMemory workingMemory) |
Object |
CollectAccumulator.init(Object workingMemoryContext,
Object context,
Tuple leftTuple,
Declaration[] declarations,
WorkingMemory workingMemory) |
boolean |
JavaAccumulatorFunctionExecutor.tryReverse(Object workingMemoryContext,
Object context,
Tuple leftTuple,
InternalFactHandle handle,
Object value,
Declaration[] declarations,
Declaration[] innerDeclarations,
WorkingMemory workingMemory) |
boolean |
CollectAccumulator.tryReverse(Object workingMemoryContext,
Object context,
Tuple leftTuple,
InternalFactHandle handle,
Object value,
Declaration[] declarations,
Declaration[] innerDeclarations,
WorkingMemory workingMemory) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
InternalWorkingMemory |
interface |
InternalWorkingMemoryActions |
| Modifier and Type | Method and Description |
|---|---|
int |
RuleImpl.SafeSalience.getValue(KnowledgeHelper khelper,
org.kie.api.definition.rule.Rule rule,
WorkingMemory workingMemory) |
boolean |
RuleImpl.SafeEnabled.getValue(Tuple tuple,
Declaration[] declarations,
RuleImpl rule,
WorkingMemory workingMemory) |
boolean |
RuleImpl.isEffective(Tuple tuple,
RuleTerminalNode rtn,
WorkingMemory workingMemory)
This returns true is the rule is effective.
|
boolean |
RuleImpl.isEnabled(Tuple tuple,
RuleTerminalNode rtn,
WorkingMemory workingMemory) |
| Modifier and Type | Method and Description |
|---|---|
WorkingMemory |
WorkingMemoryEvent.getWorkingMemory() |
| Modifier and Type | Method and Description |
|---|---|
void |
AgendaEventSupport.fireActivationCancelled(Activation activation,
WorkingMemory workingMemory,
org.kie.api.event.rule.MatchCancelledCause cause) |
void |
AgendaEventSupport.fireActivationCreated(Activation activation,
WorkingMemory workingMemory) |
org.kie.api.event.rule.BeforeMatchFiredEvent |
AgendaEventSupport.fireBeforeActivationFired(Activation activation,
WorkingMemory workingMemory) |
| Constructor and Description |
|---|
WorkingMemoryEvent(WorkingMemory workingMemory,
PropagationContext propagationContext) |
| Constructor and Description |
|---|
ObjectDeletedEventImpl(WorkingMemory workingMemory,
PropagationContext propagationContext,
org.kie.api.runtime.rule.FactHandle handle,
Object object) |
ObjectInsertedEventImpl(WorkingMemory workingMemory,
PropagationContext propagationContext,
org.kie.api.runtime.rule.FactHandle handle,
Object object) |
ObjectUpdatedEventImpl(WorkingMemory workingMemory,
PropagationContext propagationContext,
org.kie.api.runtime.rule.FactHandle handle,
Object oldObject,
Object object) |
| Modifier and Type | Method and Description |
|---|---|
void |
TraitFieldTMS.init(WorkingMemory wm) |
| Modifier and Type | Class and Description |
|---|---|
class |
StatefulKnowledgeSessionImpl |
| Modifier and Type | Method and Description |
|---|---|
ConditionalBranchEvaluator.ConditionalExecution |
ConditionalBranchEvaluator.evaluate(Tuple tuple,
WorkingMemory workingMemory,
Object context) |
TupleList<AccumulateNode.AccumulateContextEntry> |
AccumulateNode.GroupByContext.getGroup(Object workingMemoryContext,
Accumulate accumulate,
Tuple leftTuple,
Object key,
WorkingMemory wm) |
| Modifier and Type | Method and Description |
|---|---|
Object |
SingleAccumulate.accumulate(Object workingMemoryContext,
Object context,
Tuple match,
InternalFactHandle handle,
WorkingMemory workingMemory) |
Object |
MultiAccumulate.accumulate(Object workingMemoryContext,
Object context,
Tuple match,
InternalFactHandle handle,
WorkingMemory workingMemory) |
abstract Object |
Accumulate.accumulate(Object workingMemoryContext,
Object context,
Tuple match,
InternalFactHandle handle,
WorkingMemory workingMemory)
Executes the accumulate (action) code for the given fact handle
|
Object |
SingleAccumulate.accumulate(Object workingMemoryContext,
Tuple match,
InternalFactHandle childHandle,
AccumulateNode.GroupByContext groupByContext,
TupleList<AccumulateNode.AccumulateContextEntry> tupleList,
WorkingMemory wm) |
Object |
MultiAccumulate.accumulate(Object workingMemoryContext,
Tuple match,
InternalFactHandle childHandle,
AccumulateNode.GroupByContext groupByContext,
TupleList<AccumulateNode.AccumulateContextEntry> tupleList,
WorkingMemory wm) |
abstract Object |
Accumulate.accumulate(Object workingMemoryContext,
Tuple match,
InternalFactHandle childHandle,
AccumulateNode.GroupByContext groupByContext,
TupleList<AccumulateNode.AccumulateContextEntry> tupleList,
WorkingMemory wm) |
Object |
SingleAccumulate.getResult(Object workingMemoryContext,
Object context,
Tuple leftTuple,
WorkingMemory workingMemory) |
Object[] |
MultiAccumulate.getResult(Object workingMemoryContext,
Object context,
Tuple leftTuple,
WorkingMemory workingMemory) |
abstract Object |
Accumulate.getResult(Object workingMemoryContext,
Object context,
Tuple leftTuple,
WorkingMemory workingMemory)
Gets the result of the accumulation
|
Object |
SingleAccumulate.init(Object workingMemoryContext,
Object accContext,
Object funcContext,
Tuple leftTuple,
WorkingMemory workingMemory) |
Object |
MultiAccumulate.init(Object workingMemoryContext,
Object accContext,
Object funcContext,
Tuple leftTuple,
WorkingMemory workingMemory) |
abstract Object |
Accumulate.init(Object workingMemoryContext,
Object accContext,
Object funcContext,
Tuple leftTuple,
WorkingMemory workingMemory)
Executes the initialization block of code
|
boolean |
ReturnValueRestriction.isAllowed(InternalReadAccessor readAccessor,
InternalFactHandle handle,
Tuple tuple,
WorkingMemory workingMemory,
ContextEntry context) |
boolean |
EvalCondition.isAllowed(Tuple tuple,
WorkingMemory workingMemory,
Object context) |
boolean |
SingleAccumulate.tryReverse(Object workingMemoryContext,
Object context,
Tuple leftTuple,
InternalFactHandle handle,
RightTuple rightParent,
LeftTuple match,
WorkingMemory workingMemory) |
boolean |
MultiAccumulate.tryReverse(Object workingMemoryContext,
Object context,
Tuple leftTuple,
InternalFactHandle handle,
RightTuple rightParent,
LeftTuple match,
WorkingMemory workingMemory) |
abstract boolean |
Accumulate.tryReverse(Object workingMemoryContext,
Object context,
Tuple leftTuple,
InternalFactHandle handle,
RightTuple rightParent,
LeftTuple match,
WorkingMemory workingMemory)
Executes the reverse (action) code for the given fact handle
|
| Modifier and Type | Method and Description |
|---|---|
WorkingMemory |
KnowledgeHelper.getWorkingMemory() |
| Modifier and Type | Method and Description |
|---|---|
Object |
Accumulator.accumulate(Object workingMemoryContext,
Object context,
Tuple leftTuple,
InternalFactHandle handle,
Declaration[] declarations,
Declaration[] innerDeclarations,
WorkingMemory workingMemory)
Executes the accumulate (action) code for the given fact handle
|
Object |
Accumulator.SafeAccumulator.accumulate(Object workingMemoryContext,
Object context,
Tuple leftTuple,
InternalFactHandle handle,
Declaration[] declarations,
Declaration[] innerDeclarations,
WorkingMemory workingMemory) |
FieldValue |
ReturnValueExpression.evaluate(InternalFactHandle handle,
Tuple tuple,
Declaration[] previousDeclarations,
Declaration[] localDeclarations,
WorkingMemory workingMemory,
Object context) |
FieldValue |
ReturnValueExpression.SafeReturnValueExpression.evaluate(InternalFactHandle handle,
Tuple tuple,
Declaration[] previousDeclarations,
Declaration[] localDeclarations,
WorkingMemory workingMemory,
Object context) |
boolean |
PredicateExpression.evaluate(InternalFactHandle handle,
Tuple tuple,
Declaration[] previousDeclarations,
Declaration[] localDeclarations,
WorkingMemory workingMemory,
Object context) |
boolean |
PredicateExpression.SafePredicateExpression.evaluate(InternalFactHandle handle,
Tuple tuple,
Declaration[] previousDeclarations,
Declaration[] localDeclarations,
WorkingMemory workingMemory,
Object context) |
void |
Consequence.evaluate(KnowledgeHelper knowledgeHelper,
WorkingMemory workingMemory)
Execute the consequence for the supplied matching
Tuple. |
void |
Consequence.SafeConsequence.evaluate(KnowledgeHelper knowledgeHelper,
WorkingMemory workingMemory) |
boolean |
EvalExpression.evaluate(Tuple tuple,
Declaration[] requiredDeclarations,
WorkingMemory workingMemory,
Object context) |
boolean |
EvalExpression.SafeEvalExpression.evaluate(Tuple tuple,
Declaration[] requiredDeclarations,
WorkingMemory workingMemory,
Object context) |
GlobalResolver |
GlobalExporter.export(WorkingMemory workingMemory)
This method is called internally by the StatelessSession, which will provide the WorkingMemory.
|
Object |
Accumulator.getResult(Object workingMemoryContext,
Object context,
Tuple leftTuple,
Declaration[] declarations,
WorkingMemory workingMemory)
Gets the result of the accummulation
|
Object |
Accumulator.SafeAccumulator.getResult(Object workingMemoryContext,
Object context,
Tuple leftTuple,
Declaration[] declarations,
WorkingMemory workingMemory) |
int |
Salience.getValue(KnowledgeHelper khelper,
org.kie.api.definition.rule.Rule rule,
WorkingMemory workingMemory) |
boolean |
Enabled.getValue(Tuple tuple,
Declaration[] declarations,
RuleImpl rule,
WorkingMemory workingMemory) |
void |
ConsequenceExceptionHandler.handleException(Activation activation,
WorkingMemory workingMemory,
Exception exception) |
void |
AsyncExceptionHandler.handleException(WorkingMemory workingMemory,
ConsequenceException exception) |
Object |
Accumulator.init(Object workingMemoryContext,
Object context,
Tuple leftTuple,
Declaration[] declarations,
WorkingMemory workingMemory)
Executes the initialization block of code
|
Object |
Accumulator.SafeAccumulator.init(Object workingMemoryContext,
Object context,
Tuple leftTuple,
Declaration[] declarations,
WorkingMemory workingMemory) |
boolean |
Accumulator.tryReverse(Object workingMemoryContext,
Object context,
Tuple leftTuple,
InternalFactHandle handle,
Object value,
Declaration[] declarations,
Declaration[] innerDeclarations,
WorkingMemory workingMemory)
Reverses the accumulate action for the given fact handle
|
boolean |
Accumulator.SafeAccumulator.tryReverse(Object workingMemoryContext,
Object context,
Tuple leftTuple,
InternalFactHandle handle,
Object value,
Declaration[] declarations,
Declaration[] innerDeclarations,
WorkingMemory workingMemory) |
| Constructor and Description |
|---|
SessionInspector(WorkingMemory session) |
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.