|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use WorkingMemory | |
---|---|
org.drools | This is the engine that works off binary RuleBases, you will mostly use WorkingMemory, RuleBase and RuleBaseFactory |
org.drools.audit | This is a utility for providing audit trails/explanations of rule actions. |
org.drools.base | |
org.drools.base.accumulators | |
org.drools.base.dataproviders | |
org.drools.base.mvel | |
org.drools.common | |
org.drools.concurrent | |
org.drools.core.util.debug | |
org.drools.event | Events provide all sorts of call backs to monitor the engine as it is running. |
org.drools.impl | |
org.drools.management | |
org.drools.reteoo | |
org.drools.rule | Contains the binary representations of rule constructs, like Package (which the compiler produces), Rule, and Conditional Elements. |
org.drools.spi |
Uses of WorkingMemory in org.drools |
---|
Subinterfaces of WorkingMemory in org.drools | |
---|---|
interface |
StatefulSession
A stateful session represents a working memory which keeps state between invocations (accumulating facts/knowledge). |
Fields in org.drools declared as WorkingMemory | |
---|---|
protected WorkingMemory |
QueryResults.workingMemory
|
Methods in org.drools that return WorkingMemory | |
---|---|
WorkingMemory |
Agenda.getWorkingMemory()
Returns the WorkignMemory for this Agenda |
Constructors in org.drools 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.audit |
---|
Constructors in org.drools.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.base |
---|
Methods in org.drools.base that return WorkingMemory | |
---|---|
WorkingMemory |
JavaFactRegistryEntry.getWorkingMemory()
|
WorkingMemory |
SequentialKnowledgeHelper.getWorkingMemory()
|
WorkingMemory |
DefaultKnowledgeHelper.getWorkingMemory()
|
Methods in org.drools.base with parameters of type WorkingMemory | |
---|---|
GlobalResolver |
CopyIdentifiersGlobalExporter.export(WorkingMemory workingMemory)
|
GlobalResolver |
ReferenceOriginalGlobalExporter.export(WorkingMemory workingMemory)
|
int |
SalienceInteger.getValue(KnowledgeHelper khelper,
org.drools.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)
|
boolean |
DelegateJavaFactHandler.register(WorkingMemory workingMemory)
|
boolean |
DelegateJavaFactHandler.unregister(WorkingMemory workingMemory)
|
Constructors in org.drools.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.base.accumulators |
---|
Methods in org.drools.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 |
JavaAccumulatorFunctionExecutor.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)
|
Object |
MVELAccumulatorFunctionExecutor.getResult(Object workingMemoryContext,
Object context,
Tuple leftTuple,
Declaration[] declarations,
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)
|
void |
MVELAccumulatorFunctionExecutor.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 |
CollectAccumulator.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 |
JavaAccumulatorFunctionExecutor.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)
|
Uses of WorkingMemory in org.drools.base.dataproviders |
---|
Methods in org.drools.base.dataproviders with parameters of type WorkingMemory | |
---|---|
Iterator |
MVELDataProvider.getResults(Tuple tuple,
WorkingMemory wm,
PropagationContext ctx,
Object executionContext)
|
Uses of WorkingMemory in org.drools.base.mvel |
---|
Methods in org.drools.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)
|
boolean |
MVELPredicateExpression.evaluate(Object object,
Tuple tuple,
Declaration[] previousDeclarations,
Declaration[] requiredDeclarations,
WorkingMemory workingMemory,
Object context)
|
FieldValue |
MVELReturnValueExpression.evaluate(Object object,
Tuple tuple,
Declaration[] previousDeclarations,
Declaration[] requiredDeclarations,
WorkingMemory workingMemory,
Object ctx)
|
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.drools.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.common |
---|
Subinterfaces of WorkingMemory in org.drools.common | |
---|---|
interface |
InternalWorkingMemory
|
interface |
InternalWorkingMemoryActions
|
Classes in org.drools.common that implement WorkingMemory | |
---|---|
class |
AbstractWorkingMemory
Implementation of WorkingMemory . |
Methods in org.drools.common that return WorkingMemory | |
---|---|
WorkingMemory |
DefaultAgenda.getWorkingMemory()
|
Uses of WorkingMemory in org.drools.concurrent |
---|
Methods in org.drools.concurrent with parameters of type WorkingMemory | |
---|---|
void |
AssertObject.execute(WorkingMemory workingMemory)
|
void |
Command.execute(WorkingMemory workingMemory)
|
void |
FireAllRules.execute(WorkingMemory workingMemory)
|
void |
RetractObject.execute(WorkingMemory workingMemory)
|
void |
AssertObjects.execute(WorkingMemory workingMemory)
|
void |
UpdateObject.execute(WorkingMemory workingMemory)
|
Constructors in org.drools.concurrent with parameters of type WorkingMemory | |
---|---|
CommandExecutor(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)
|
Uses of WorkingMemory in org.drools.event |
---|
Methods in org.drools.event that return WorkingMemory | |
---|---|
WorkingMemory |
WorkingMemoryEvent.getWorkingMemory()
|
Constructors in org.drools.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.impl |
---|
Methods in org.drools.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.management |
---|
Methods in org.drools.management with parameters of type WorkingMemory | |
---|---|
void |
KnowledgeSessionMonitoring.AgendaStats.activationCancelled(ActivationCancelledEvent event,
WorkingMemory workingMemory)
|
void |
KnowledgeSessionMonitoring.AgendaStats.activationCreated(ActivationCreatedEvent event,
WorkingMemory workingMemory)
|
void |
KnowledgeSessionMonitoring.AgendaStats.afterActivationFired(AfterActivationFiredEvent event,
WorkingMemory workingMemory)
|
void |
KnowledgeSessionMonitoring.AgendaStats.afterRuleFlowGroupActivated(RuleFlowGroupActivatedEvent event,
WorkingMemory workingMemory)
|
void |
KnowledgeSessionMonitoring.AgendaStats.afterRuleFlowGroupDeactivated(RuleFlowGroupDeactivatedEvent event,
WorkingMemory workingMemory)
|
void |
KnowledgeSessionMonitoring.AgendaStats.agendaGroupPopped(AgendaGroupPoppedEvent event,
WorkingMemory workingMemory)
|
void |
KnowledgeSessionMonitoring.AgendaStats.agendaGroupPushed(AgendaGroupPushedEvent event,
WorkingMemory workingMemory)
|
void |
KnowledgeSessionMonitoring.AgendaStats.beforeActivationFired(BeforeActivationFiredEvent event,
WorkingMemory workingMemory)
|
void |
KnowledgeSessionMonitoring.AgendaStats.beforeRuleFlowGroupActivated(RuleFlowGroupActivatedEvent event,
WorkingMemory workingMemory)
|
void |
KnowledgeSessionMonitoring.AgendaStats.beforeRuleFlowGroupDeactivated(RuleFlowGroupDeactivatedEvent event,
WorkingMemory workingMemory)
|
Uses of WorkingMemory in org.drools.reteoo |
---|
Subinterfaces of WorkingMemory in org.drools.reteoo | |
---|---|
interface |
ReteooWorkingMemoryInterface
This is an interface for ReteooWorkingMemory implementations |
Classes in org.drools.reteoo that implement WorkingMemory | |
---|---|
class |
DisposedReteooWorkingMemory
|
class |
ReteooStatefulSession
|
class |
ReteooWorkingMemory
Implementation of WorkingMemory . |
Uses of WorkingMemory in org.drools.rule |
---|
Methods in org.drools.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.spi |
---|
Methods in org.drools.spi that return WorkingMemory | |
---|---|
WorkingMemory |
KnowledgeHelper.getWorkingMemory()
|
Methods in org.drools.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.drools.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)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |