|
Drools :: Core 6.0.0.Beta5 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use WorkingMemory | |
|---|---|
| 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.base.dataproviders | |
| org.drools.core.base.mvel | |
| org.drools.core.common | |
| org.drools.core.event | Events provide all sorts of call backs to monitor the engine as it is running. |
| org.drools.core.impl | |
| org.drools.core.management | |
| 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.rule.builder.dialect.asm | |
| org.drools.core.spi | |
| org.drools.core.util.debug | |
| Uses of WorkingMemory in org.drools.core |
|---|
| Subinterfaces of WorkingMemory in org.drools.core | |
|---|---|
interface |
StatefulSession
A stateful session represents a working memory which keeps state between invocations (accumulating facts/knowledge). |
| Fields in org.drools.core declared as WorkingMemory | |
|---|---|
protected WorkingMemory |
QueryResults.workingMemory
|
| Methods in org.drools.core that return WorkingMemory | |
|---|---|
WorkingMemory |
Agenda.getWorkingMemory()
Returns the WorkignMemory for this Agenda |
| Constructors in org.drools.core with parameters of type WorkingMemory | |
|---|---|
QueryResult(QueryRowWithSubruleIndex row,
WorkingMemory workingMemory,
QueryResults queryResults)
|
|
QueryResults(List<QueryRowWithSubruleIndex> results,
Map<String,Declaration>[] declarations,
WorkingMemory workingMemory,
Declaration[] parameters)
|
|
| Uses of WorkingMemory in org.drools.core.audit |
|---|
| Constructors in org.drools.core.audit with parameters of type WorkingMemory | |
|---|---|
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. |
|
| Uses of WorkingMemory in org.drools.core.base |
|---|
| Methods in org.drools.core.base that return WorkingMemory | |
|---|---|
WorkingMemory |
JavaFactRegistryEntry.getWorkingMemory()
|
WorkingMemory |
SequentialKnowledgeHelper.getWorkingMemory()
|
WorkingMemory |
DefaultKnowledgeHelper.getWorkingMemory()
|
| Methods in org.drools.core.base with parameters of type WorkingMemory | |
|---|---|
GlobalResolver |
ReferenceOriginalGlobalExporter.export(WorkingMemory workingMemory)
|
GlobalResolver |
CopyIdentifiersGlobalExporter.export(WorkingMemory workingMemory)
|
int |
SalienceInteger.getValue(KnowledgeHelper khelper,
org.kie.api.definition.rule.Rule rule,
WorkingMemory workingMemory)
|
boolean |
EnabledBoolean.getValue(Tuple tuple,
Declaration[] declrs,
Rule rule,
WorkingMemory workingMemory)
|
void |
DefaultConsequenceExceptionHandler.handleException(Activation activation,
WorkingMemory workingMemory,
Exception exception)
|
boolean |
DelegateJavaFactHandler.isRegistered(WorkingMemory workingMemory)
|
KnowledgeHelper |
KnowledgeHelperFactory.newSequentialKnowledgeHelper(WorkingMemory wm)
|
KnowledgeHelper |
DefaultKnowledgeHelperFactory.newSequentialKnowledgeHelper(WorkingMemory wm)
|
KnowledgeHelper |
KnowledgeHelperFactory.newStatefulKnowledgeHelper(WorkingMemory wm)
|
KnowledgeHelper |
DefaultKnowledgeHelperFactory.newStatefulKnowledgeHelper(WorkingMemory wm)
|
boolean |
DelegateJavaFactHandler.register(WorkingMemory workingMemory)
|
boolean |
DelegateJavaFactHandler.unregister(WorkingMemory workingMemory)
|
| Constructors in org.drools.core.base with parameters of type WorkingMemory | |
|---|---|
DefaultKnowledgeHelper(Activation activation,
WorkingMemory workingMemory)
|
|
DefaultKnowledgeHelper(WorkingMemory workingMemory)
|
|
JavaFactRegistryEntry(WorkingMemory workingMemory,
FactHandle handle)
|
|
SequentialKnowledgeHelper(WorkingMemory workingMemory)
|
|
| Uses of WorkingMemory in org.drools.core.base.accumulators |
|---|
| Methods in org.drools.core.base.accumulators with parameters of type WorkingMemory | |
|---|---|
void |
MVELAccumulatorFunctionExecutor.accumulate(Object workingMemoryContext,
Object context,
Tuple leftTuple,
InternalFactHandle handle,
Declaration[] declarations,
Declaration[] innerDeclarations,
WorkingMemory workingMemory)
|
void |
CollectAccumulator.accumulate(Object workingMemoryContext,
Object context,
Tuple leftTuple,
InternalFactHandle handle,
Declaration[] declarations,
Declaration[] innerDeclarations,
WorkingMemory workingMemory)
|
void |
JavaAccumulatorFunctionExecutor.accumulate(Object workingMemoryContext,
Object context,
Tuple leftTuple,
InternalFactHandle handle,
Declaration[] declarations,
Declaration[] innerDeclarations,
WorkingMemory workingMemory)
|
Object |
MVELAccumulatorFunctionExecutor.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.getResult(Object workingMemoryContext,
Object context,
Tuple leftTuple,
Declaration[] declarations,
WorkingMemory workingMemory)
|
void |
MVELAccumulatorFunctionExecutor.init(Object workingMemoryContext,
Object context,
Tuple leftTuple,
Declaration[] declarations,
WorkingMemory workingMemory)
|
void |
CollectAccumulator.init(Object workingMemoryContext,
Object context,
Tuple leftTuple,
Declaration[] declarations,
WorkingMemory workingMemory)
|
void |
JavaAccumulatorFunctionExecutor.init(Object workingMemoryContext,
Object context,
Tuple leftTuple,
Declaration[] declarations,
WorkingMemory workingMemory)
|
void |
MVELAccumulatorFunctionExecutor.reverse(Object workingMemoryContext,
Object context,
Tuple leftTuple,
InternalFactHandle handle,
Declaration[] declarations,
Declaration[] innerDeclarations,
WorkingMemory workingMemory)
|
void |
CollectAccumulator.reverse(Object workingMemoryContext,
Object context,
Tuple leftTuple,
InternalFactHandle handle,
Declaration[] declarations,
Declaration[] innerDeclarations,
WorkingMemory workingMemory)
|
void |
JavaAccumulatorFunctionExecutor.reverse(Object workingMemoryContext,
Object context,
Tuple leftTuple,
InternalFactHandle handle,
Declaration[] declarations,
Declaration[] innerDeclarations,
WorkingMemory workingMemory)
|
| Uses of WorkingMemory in org.drools.core.base.dataproviders |
|---|
| Methods in org.drools.core.base.dataproviders with parameters of type WorkingMemory | |
|---|---|
Iterator |
MVELDataProvider.getResults(Tuple tuple,
WorkingMemory wm,
PropagationContext ctx,
Object executionContext)
|
| Uses of WorkingMemory in org.drools.core.base.mvel |
|---|
| Methods in org.drools.core.base.mvel with parameters of type WorkingMemory | |
|---|---|
void |
MVELAccumulator.accumulate(Object workingMemoryContext,
Object context,
Tuple leftTuple,
InternalFactHandle handle,
Declaration[] declarations,
Declaration[] innerDeclarations,
WorkingMemory workingMemory)
|
void |
MVELConsequence.evaluate(KnowledgeHelper knowledgeHelper,
WorkingMemory workingMemory)
|
FieldValue |
MVELReturnValueExpression.evaluate(Object object,
Tuple tuple,
Declaration[] previousDeclarations,
Declaration[] requiredDeclarations,
WorkingMemory workingMemory,
Object ctx)
|
boolean |
MVELPredicateExpression.evaluate(Object object,
Tuple tuple,
Declaration[] previousDeclarations,
Declaration[] requiredDeclarations,
WorkingMemory workingMemory,
Object context)
|
boolean |
MVELEvalExpression.evaluate(Tuple tuple,
Declaration[] requiredDeclarations,
WorkingMemory workingMemory,
Object context)
|
Object |
MVELAccumulator.getResult(Object workingMemoryContext,
Object context,
Tuple leftTuple,
Declaration[] declarations,
WorkingMemory workingMemory)
|
int |
MVELSalienceExpression.getValue(KnowledgeHelper khelper,
org.kie.api.definition.rule.Rule rule,
WorkingMemory workingMemory)
|
boolean |
MVELEnabledExpression.getValue(Tuple tuple,
Declaration[] declrs,
Rule rule,
WorkingMemory workingMemory)
|
void |
MVELAccumulator.init(Object workingMemoryContext,
Object context,
Tuple leftTuple,
Declaration[] declarations,
WorkingMemory workingMemory)
|
void |
MVELAccumulator.reverse(Object workingMemoryContext,
Object context,
Tuple leftTuple,
InternalFactHandle handle,
Declaration[] declarations,
Declaration[] innerDeclarations,
WorkingMemory workingMemory)
|
| Uses of WorkingMemory in org.drools.core.common |
|---|
| Subinterfaces of WorkingMemory in org.drools.core.common | |
|---|---|
interface |
InternalWorkingMemory
|
interface |
InternalWorkingMemoryActions
|
| Classes in org.drools.core.common that implement WorkingMemory | |
|---|---|
class |
AbstractWorkingMemory
Implementation of WorkingMemory. |
| Methods in org.drools.core.common that return WorkingMemory | |
|---|---|
WorkingMemory |
DefaultAgenda.getWorkingMemory()
|
| Uses of WorkingMemory in org.drools.core.event |
|---|
| Methods in org.drools.core.event that return WorkingMemory | |
|---|---|
WorkingMemory |
WorkingMemoryEvent.getWorkingMemory()
|
| Constructors in org.drools.core.event with parameters of type WorkingMemory | |
|---|---|
ObjectInsertedEvent(WorkingMemory workingMemory,
PropagationContext propagationContext,
FactHandle handle,
Object object)
|
|
ObjectRetractedEvent(WorkingMemory workingMemory,
PropagationContext propagationContext,
FactHandle handle,
Object oldObject)
|
|
ObjectUpdatedEvent(WorkingMemory workingMemory,
PropagationContext propagationContext,
FactHandle handle,
Object oldObject,
Object object)
|
|
WorkingMemoryEvent(WorkingMemory workingMemory,
PropagationContext propagationContext)
|
|
| Uses of WorkingMemory in org.drools.core.impl |
|---|
| Methods in org.drools.core.impl with parameters of type WorkingMemory | |
|---|---|
void |
StatefulKnowledgeSessionImpl.AgendaEventListenerWrapper.activationCancelled(ActivationCancelledEvent event,
WorkingMemory workingMemory)
|
void |
StatefulKnowledgeSessionImpl.AgendaEventListenerWrapper.activationCreated(ActivationCreatedEvent event,
WorkingMemory workingMemory)
|
void |
StatefulKnowledgeSessionImpl.AgendaEventListenerWrapper.afterActivationFired(AfterActivationFiredEvent event,
WorkingMemory workingMemory)
|
void |
StatefulKnowledgeSessionImpl.AgendaEventListenerWrapper.afterRuleFlowGroupActivated(RuleFlowGroupActivatedEvent event,
WorkingMemory workingMemory)
|
void |
StatefulKnowledgeSessionImpl.AgendaEventListenerWrapper.afterRuleFlowGroupDeactivated(RuleFlowGroupDeactivatedEvent event,
WorkingMemory workingMemory)
|
void |
StatefulKnowledgeSessionImpl.AgendaEventListenerWrapper.agendaGroupPopped(AgendaGroupPoppedEvent event,
WorkingMemory workingMemory)
|
void |
StatefulKnowledgeSessionImpl.AgendaEventListenerWrapper.agendaGroupPushed(AgendaGroupPushedEvent event,
WorkingMemory workingMemory)
|
void |
StatefulKnowledgeSessionImpl.AgendaEventListenerWrapper.beforeActivationFired(BeforeActivationFiredEvent event,
WorkingMemory workingMemory)
|
void |
StatefulKnowledgeSessionImpl.AgendaEventListenerWrapper.beforeRuleFlowGroupActivated(RuleFlowGroupActivatedEvent event,
WorkingMemory workingMemory)
|
void |
StatefulKnowledgeSessionImpl.AgendaEventListenerWrapper.beforeRuleFlowGroupDeactivated(RuleFlowGroupDeactivatedEvent event,
WorkingMemory workingMemory)
|
| Uses of WorkingMemory in org.drools.core.management |
|---|
| Methods in org.drools.core.management with parameters of type WorkingMemory | |
|---|---|
void |
KieSessionMonitoringImpl.AgendaStats.activationCancelled(ActivationCancelledEvent event,
WorkingMemory workingMemory)
|
void |
KieSessionMonitoringImpl.AgendaStats.activationCreated(ActivationCreatedEvent event,
WorkingMemory workingMemory)
|
void |
KieSessionMonitoringImpl.AgendaStats.afterActivationFired(AfterActivationFiredEvent event,
WorkingMemory workingMemory)
|
void |
KieSessionMonitoringImpl.AgendaStats.afterRuleFlowGroupActivated(RuleFlowGroupActivatedEvent event,
WorkingMemory workingMemory)
|
void |
KieSessionMonitoringImpl.AgendaStats.afterRuleFlowGroupDeactivated(RuleFlowGroupDeactivatedEvent event,
WorkingMemory workingMemory)
|
void |
KieSessionMonitoringImpl.AgendaStats.agendaGroupPopped(AgendaGroupPoppedEvent event,
WorkingMemory workingMemory)
|
void |
KieSessionMonitoringImpl.AgendaStats.agendaGroupPushed(AgendaGroupPushedEvent event,
WorkingMemory workingMemory)
|
void |
KieSessionMonitoringImpl.AgendaStats.beforeActivationFired(BeforeActivationFiredEvent event,
WorkingMemory workingMemory)
|
void |
KieSessionMonitoringImpl.AgendaStats.beforeRuleFlowGroupActivated(RuleFlowGroupActivatedEvent event,
WorkingMemory workingMemory)
|
void |
KieSessionMonitoringImpl.AgendaStats.beforeRuleFlowGroupDeactivated(RuleFlowGroupDeactivatedEvent event,
WorkingMemory workingMemory)
|
| Uses of WorkingMemory in org.drools.core.reteoo |
|---|
| Subinterfaces of WorkingMemory in org.drools.core.reteoo | |
|---|---|
interface |
ReteooWorkingMemoryInterface
This is an interface for ReteooWorkingMemory implementations |
| Classes in org.drools.core.reteoo that implement WorkingMemory | |
|---|---|
class |
DisposedReteooWorkingMemory
|
class |
ReteooStatefulSession
|
class |
ReteooWorkingMemory
Implementation of WorkingMemory. |
| Methods in org.drools.core.reteoo with parameters of type WorkingMemory | |
|---|---|
ConditionalBranchEvaluator.ConditionalExecution |
ConditionalBranchEvaluator.evaluate(Tuple tuple,
WorkingMemory workingMemory,
Object context)
|
| Uses of WorkingMemory in org.drools.core.rule |
|---|
| Methods in org.drools.core.rule with parameters of type WorkingMemory | |
|---|---|
void |
Accumulate.accumulate(Object[] workingMemoryContext,
Object[] context,
Tuple leftTuple,
InternalFactHandle handle,
WorkingMemory workingMemory)
Executes the accumulate (action) code for the given fact handle |
Object[] |
Accumulate.getResult(Object[] workingMemoryContext,
Object[] context,
Tuple leftTuple,
WorkingMemory workingMemory)
Gets the result of the accumulation |
void |
Accumulate.init(Object[] workingMemoryContext,
Object[] context,
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 |
Rule.isEffective(Tuple tuple,
RuleTerminalNode rtn,
WorkingMemory workingMemory)
This returns true is the rule is effective. |
boolean |
Rule.isEnabled(Tuple tuple,
RuleTerminalNode rtn,
WorkingMemory workingMemory)
|
void |
Accumulate.reverse(Object[] workingMemoryContext,
Object[] context,
Tuple leftTuple,
InternalFactHandle handle,
WorkingMemory workingMemory)
Executes the reverse (action) code for the given fact handle |
| Uses of WorkingMemory in org.drools.core.rule.builder.dialect.asm |
|---|
| Methods in org.drools.core.rule.builder.dialect.asm with parameters of type WorkingMemory | |
|---|---|
static void |
ConsequenceGenerator.generate(ConsequenceStub stub,
KnowledgeHelper knowledgeHelper,
WorkingMemory workingMemory)
|
static void |
EvalGenerator.generate(EvalStub stub,
Tuple tuple,
Declaration[] declarations,
WorkingMemory workingMemory)
|
static void |
PredicateGenerator.generate(PredicateStub stub,
Tuple tuple,
Declaration[] previousDeclarations,
Declaration[] localDeclarations,
WorkingMemory workingMemory)
|
static void |
ReturnValueGenerator.generate(ReturnValueStub stub,
Tuple tuple,
Declaration[] previousDeclarations,
Declaration[] localDeclarations,
WorkingMemory workingMemory)
|
| Uses of WorkingMemory in org.drools.core.spi |
|---|
| Methods in org.drools.core.spi that return WorkingMemory | |
|---|---|
WorkingMemory |
KnowledgeHelper.getWorkingMemory()
|
| Methods in org.drools.core.spi with parameters of type WorkingMemory | |
|---|---|
void |
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 |
void |
Consequence.evaluate(KnowledgeHelper knowledgeHelper,
WorkingMemory workingMemory)
Execute the consequence for the supplied matching Tuple. |
boolean |
PredicateExpression.evaluate(Object object,
Tuple tuple,
Declaration[] previousDeclarations,
Declaration[] localDeclarations,
WorkingMemory workingMemory,
Object context)
|
FieldValue |
ReturnValueExpression.evaluate(Object object,
Tuple tuple,
Declaration[] previousDeclarations,
Declaration[] localDeclarations,
WorkingMemory workingMemory,
Object context)
|
boolean |
EvalExpression.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 |
Iterator |
DataProvider.getResults(Tuple tuple,
WorkingMemory wm,
PropagationContext ctx,
Object providerContext)
|
int |
Salience.getValue(KnowledgeHelper khelper,
org.kie.api.definition.rule.Rule rule,
WorkingMemory workingMemory)
|
boolean |
Enabled.getValue(Tuple tuple,
Declaration[] declrs,
Rule rule,
WorkingMemory workingMemory)
|
void |
ConsequenceExceptionHandler.handleException(Activation activation,
WorkingMemory workingMemory,
Exception exception)
|
void |
AsyncExceptionHandler.handleException(WorkingMemory workingMemory,
ConsequenceException exception)
|
void |
Accumulator.init(Object workingMemoryContext,
Object context,
Tuple leftTuple,
Declaration[] declarations,
WorkingMemory workingMemory)
Executes the initialization block of code |
boolean |
JavaFact.isRegistered(WorkingMemory workingMemory)
|
boolean |
JavaFact.register(WorkingMemory workingMemory)
|
void |
Accumulator.reverse(Object workingMemoryContext,
Object context,
Tuple leftTuple,
InternalFactHandle handle,
Declaration[] declarations,
Declaration[] innerDeclarations,
WorkingMemory workingMemory)
Reverses the accumulate action for the given fact handle |
boolean |
JavaFact.unregister(WorkingMemory workingMemory)
|
| Uses of WorkingMemory in org.drools.core.util.debug |
|---|
| Constructors in org.drools.core.util.debug with parameters of type WorkingMemory | |
|---|---|
SessionInspector(WorkingMemory session)
|
|
|
Drools :: Core 6.0.0.Beta5 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||