Uses of Interface
org.drools.core.WorkingMemory
-
Packages that use WorkingMemory Package Description org.drools.core This is the engine that works off binary RuleBases, you will mostly use WorkingMemory, RuleBase and RuleBaseFactoryorg.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 -
-
Uses of WorkingMemory in org.drools.core
Fields in org.drools.core declared as WorkingMemory Modifier and Type Field Description protected WorkingMemoryQueryResultsImpl. workingMemoryConstructors in org.drools.core with parameters of type WorkingMemory Constructor Description QueryResultsImpl(List<QueryRowWithSubruleIndex> results, Map<String,Declaration>[] declarations, WorkingMemory workingMemory, Declaration[] parameters)QueryResultsRowImpl(QueryRowWithSubruleIndex row, WorkingMemory workingMemory, QueryResultsImpl queryResults) -
Uses of WorkingMemory in org.drools.core.audit
Constructors in org.drools.core.audit with parameters of type WorkingMemory Constructor 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. -
Uses of WorkingMemory in org.drools.core.base
Classes in org.drools.core.base that implement WorkingMemory Modifier and Type Class Description classWrappedStatefulKnowledgeSessionForRHSWrapper of StatefulKnowledgeSessionImpl so to intercept call from RHS internal Drools execution and proxy or delegate method call as appropriate.Methods in org.drools.core.base that return WorkingMemory Modifier and Type Method Description WorkingMemoryDefaultKnowledgeHelper. getWorkingMemory()WorkingMemoryJavaFactRegistryEntry. getWorkingMemory()Methods in org.drools.core.base with parameters of type WorkingMemory Modifier and Type Method Description protected WrappedStatefulKnowledgeSessionForRHSDefaultKnowledgeHelper. createWrappedSession(WorkingMemory workingMemory)GlobalResolverReferenceOriginalGlobalExporter. export(WorkingMemory workingMemory)booleanEnabledBoolean. getValue(Tuple tuple, Declaration[] declarations, RuleImpl rule, WorkingMemory workingMemory)intSalienceInteger. getValue(KnowledgeHelper khelper, org.kie.api.definition.rule.Rule rule, WorkingMemory workingMemory)Constructors in org.drools.core.base with parameters of type WorkingMemory Constructor Description DefaultKnowledgeHelper(Activation activation, WorkingMemory workingMemory)DefaultKnowledgeHelper(WorkingMemory workingMemory)JavaFactRegistryEntry(WorkingMemory workingMemory, org.kie.api.runtime.rule.FactHandle handle)WrappedStatefulKnowledgeSessionForRHS(WorkingMemory workingMemory) -
Uses of WorkingMemory in org.drools.core.base.accumulators
Methods in org.drools.core.base.accumulators with parameters of type WorkingMemory Modifier and Type Method Description ObjectCollectAccumulator. accumulate(Object workingMemoryContext, Object context, Tuple leftTuple, InternalFactHandle handle, Declaration[] declarations, Declaration[] innerDeclarations, WorkingMemory workingMemory)ObjectJavaAccumulatorFunctionExecutor. accumulate(Object workingMemoryContext, Object context, Tuple leftTuple, InternalFactHandle handle, Declaration[] declarations, Declaration[] innerDeclarations, WorkingMemory workingMemory)ObjectCollectAccumulator. getResult(Object workingMemoryContext, Object context, Tuple leftTuple, Declaration[] declarations, WorkingMemory workingMemory)ObjectJavaAccumulatorFunctionExecutor. getResult(Object workingMemoryContext, Object context, Tuple leftTuple, Declaration[] declarations, WorkingMemory workingMemory)ObjectCollectAccumulator. init(Object workingMemoryContext, Object context, Tuple leftTuple, Declaration[] declarations, WorkingMemory workingMemory)ObjectJavaAccumulatorFunctionExecutor. init(Object workingMemoryContext, Object context, Tuple leftTuple, Declaration[] declarations, WorkingMemory workingMemory)booleanCollectAccumulator. tryReverse(Object workingMemoryContext, Object context, Tuple leftTuple, InternalFactHandle handle, Object value, Declaration[] declarations, Declaration[] innerDeclarations, WorkingMemory workingMemory)booleanJavaAccumulatorFunctionExecutor. tryReverse(Object workingMemoryContext, Object context, Tuple leftTuple, InternalFactHandle handle, Object value, Declaration[] declarations, Declaration[] innerDeclarations, WorkingMemory workingMemory) -
Uses of WorkingMemory in org.drools.core.common
Subinterfaces of WorkingMemory in org.drools.core.common Modifier and Type Interface Description interfaceInternalWorkingMemoryinterfaceInternalWorkingMemoryActions -
Uses of WorkingMemory in org.drools.core.definitions.rule.impl
Methods in org.drools.core.definitions.rule.impl with parameters of type WorkingMemory Modifier and Type Method Description booleanRuleImpl.SafeEnabled. getValue(Tuple tuple, Declaration[] declarations, RuleImpl rule, WorkingMemory workingMemory)intRuleImpl.SafeSalience. getValue(KnowledgeHelper khelper, org.kie.api.definition.rule.Rule rule, WorkingMemory workingMemory)booleanRuleImpl. isEffective(Tuple tuple, RuleTerminalNode rtn, WorkingMemory workingMemory)This returns true is the rule is effective.booleanRuleImpl. isEnabled(Tuple tuple, RuleTerminalNode rtn, WorkingMemory workingMemory) -
Uses of WorkingMemory in org.drools.core.event
Methods in org.drools.core.event that return WorkingMemory Modifier and Type Method Description WorkingMemoryWorkingMemoryEvent. getWorkingMemory()Methods in org.drools.core.event with parameters of type WorkingMemory Modifier and Type Method Description voidAgendaEventSupport. fireActivationCancelled(Activation activation, WorkingMemory workingMemory, org.kie.api.event.rule.MatchCancelledCause cause)voidAgendaEventSupport. fireActivationCreated(Activation activation, WorkingMemory workingMemory)org.kie.api.event.rule.BeforeMatchFiredEventAgendaEventSupport. fireBeforeActivationFired(Activation activation, WorkingMemory workingMemory)Constructors in org.drools.core.event with parameters of type WorkingMemory Constructor Description WorkingMemoryEvent(WorkingMemory workingMemory, PropagationContext propagationContext) -
Uses of WorkingMemory in org.drools.core.event.rule.impl
Constructors in org.drools.core.event.rule.impl with parameters of type WorkingMemory Constructor 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) -
Uses of WorkingMemory in org.drools.core.factmodel.traits
Methods in org.drools.core.factmodel.traits with parameters of type WorkingMemory Modifier and Type Method Description voidTraitFieldTMS. init(WorkingMemory wm) -
Uses of WorkingMemory in org.drools.core.impl
Classes in org.drools.core.impl that implement WorkingMemory Modifier and Type Class Description classStatefulKnowledgeSessionImpl -
Uses of WorkingMemory in org.drools.core.reteoo
Methods in org.drools.core.reteoo with parameters of type WorkingMemory Modifier and Type Method Description ConditionalBranchEvaluator.ConditionalExecutionConditionalBranchEvaluator. evaluate(Tuple tuple, WorkingMemory workingMemory, Object context)TupleList<AccumulateNode.AccumulateContextEntry>AccumulateNode.GroupByContext. getGroup(Object workingMemoryContext, Accumulate accumulate, Tuple leftTuple, Object key, WorkingMemory wm) -
Uses of WorkingMemory in org.drools.core.rule
Methods in org.drools.core.rule with parameters of type WorkingMemory Modifier and Type Method Description abstract ObjectAccumulate. accumulate(Object workingMemoryContext, Object context, Tuple match, InternalFactHandle handle, WorkingMemory workingMemory)Executes the accumulate (action) code for the given fact handleabstract ObjectAccumulate. accumulate(Object workingMemoryContext, Tuple match, InternalFactHandle childHandle, AccumulateNode.GroupByContext groupByContext, TupleList<AccumulateNode.AccumulateContextEntry> tupleList, WorkingMemory wm)ObjectMultiAccumulate. accumulate(Object workingMemoryContext, Object context, Tuple match, InternalFactHandle handle, WorkingMemory workingMemory)ObjectMultiAccumulate. accumulate(Object workingMemoryContext, Tuple match, InternalFactHandle childHandle, AccumulateNode.GroupByContext groupByContext, TupleList<AccumulateNode.AccumulateContextEntry> tupleList, WorkingMemory wm)ObjectSingleAccumulate. accumulate(Object workingMemoryContext, Object context, Tuple match, InternalFactHandle handle, WorkingMemory workingMemory)ObjectSingleAccumulate. accumulate(Object workingMemoryContext, Tuple match, InternalFactHandle childHandle, AccumulateNode.GroupByContext groupByContext, TupleList<AccumulateNode.AccumulateContextEntry> tupleList, WorkingMemory wm)abstract ObjectAccumulate. getResult(Object workingMemoryContext, Object context, Tuple leftTuple, WorkingMemory workingMemory)Gets the result of the accumulationObject[]MultiAccumulate. getResult(Object workingMemoryContext, Object context, Tuple leftTuple, WorkingMemory workingMemory)ObjectSingleAccumulate. getResult(Object workingMemoryContext, Object context, Tuple leftTuple, WorkingMemory workingMemory)abstract ObjectAccumulate. init(Object workingMemoryContext, Object accContext, Object funcContext, Tuple leftTuple, WorkingMemory workingMemory)Executes the initialization block of codeObjectMultiAccumulate. init(Object workingMemoryContext, Object accContext, Object funcContext, Tuple leftTuple, WorkingMemory workingMemory)ObjectSingleAccumulate. init(Object workingMemoryContext, Object accContext, Object funcContext, Tuple leftTuple, WorkingMemory workingMemory)booleanEvalCondition. isAllowed(Tuple tuple, WorkingMemory workingMemory, Object context)booleanReturnValueRestriction. isAllowed(InternalReadAccessor readAccessor, InternalFactHandle handle, Tuple tuple, WorkingMemory workingMemory, ContextEntry context)abstract booleanAccumulate. tryReverse(Object workingMemoryContext, Object context, Tuple leftTuple, InternalFactHandle handle, RightTuple rightParent, LeftTuple match, WorkingMemory workingMemory)Executes the reverse (action) code for the given fact handlebooleanMultiAccumulate. tryReverse(Object workingMemoryContext, Object context, Tuple leftTuple, InternalFactHandle handle, RightTuple rightParent, LeftTuple match, WorkingMemory workingMemory)booleanSingleAccumulate. tryReverse(Object workingMemoryContext, Object context, Tuple leftTuple, InternalFactHandle handle, RightTuple rightParent, LeftTuple match, WorkingMemory workingMemory) -
Uses of WorkingMemory in org.drools.core.spi
Methods in org.drools.core.spi that return WorkingMemory Modifier and Type Method Description WorkingMemoryKnowledgeHelper. getWorkingMemory()Methods in org.drools.core.spi with parameters of type WorkingMemory Modifier and Type Method Description ObjectAccumulator. accumulate(Object workingMemoryContext, Object context, Tuple leftTuple, InternalFactHandle handle, Declaration[] declarations, Declaration[] innerDeclarations, WorkingMemory workingMemory)Executes the accumulate (action) code for the given fact handleObjectAccumulator.SafeAccumulator. accumulate(Object workingMemoryContext, Object context, Tuple leftTuple, InternalFactHandle handle, Declaration[] declarations, Declaration[] innerDeclarations, WorkingMemory workingMemory)voidConsequence. evaluate(KnowledgeHelper knowledgeHelper, WorkingMemory workingMemory)Execute the consequence for the supplied matchingTuple.voidConsequence.SafeConsequence. evaluate(KnowledgeHelper knowledgeHelper, WorkingMemory workingMemory)booleanEvalExpression. evaluate(Tuple tuple, Declaration[] requiredDeclarations, WorkingMemory workingMemory, Object context)booleanEvalExpression.SafeEvalExpression. evaluate(Tuple tuple, Declaration[] requiredDeclarations, WorkingMemory workingMemory, Object context)booleanPredicateExpression. evaluate(InternalFactHandle handle, Tuple tuple, Declaration[] previousDeclarations, Declaration[] localDeclarations, WorkingMemory workingMemory, Object context)booleanPredicateExpression.SafePredicateExpression. evaluate(InternalFactHandle handle, Tuple tuple, Declaration[] previousDeclarations, Declaration[] localDeclarations, WorkingMemory workingMemory, Object context)FieldValueReturnValueExpression. evaluate(InternalFactHandle handle, Tuple tuple, Declaration[] previousDeclarations, Declaration[] localDeclarations, WorkingMemory workingMemory, Object context)FieldValueReturnValueExpression.SafeReturnValueExpression. evaluate(InternalFactHandle handle, Tuple tuple, Declaration[] previousDeclarations, Declaration[] localDeclarations, WorkingMemory workingMemory, Object context)GlobalResolverGlobalExporter. export(WorkingMemory workingMemory)This method is called internally by the StatelessSession, which will provide the WorkingMemory.ObjectAccumulator. getResult(Object workingMemoryContext, Object context, Tuple leftTuple, Declaration[] declarations, WorkingMemory workingMemory)Gets the result of the accummulationObjectAccumulator.SafeAccumulator. getResult(Object workingMemoryContext, Object context, Tuple leftTuple, Declaration[] declarations, WorkingMemory workingMemory)booleanEnabled. getValue(Tuple tuple, Declaration[] declarations, RuleImpl rule, WorkingMemory workingMemory)intSalience. getValue(KnowledgeHelper khelper, org.kie.api.definition.rule.Rule rule, WorkingMemory workingMemory)voidAsyncExceptionHandler. handleException(WorkingMemory workingMemory, ConsequenceException exception)voidConsequenceExceptionHandler. handleException(Activation activation, WorkingMemory workingMemory, Exception exception)ObjectAccumulator. init(Object workingMemoryContext, Object context, Tuple leftTuple, Declaration[] declarations, WorkingMemory workingMemory)Executes the initialization block of codeObjectAccumulator.SafeAccumulator. init(Object workingMemoryContext, Object context, Tuple leftTuple, Declaration[] declarations, WorkingMemory workingMemory)booleanAccumulator.SafeAccumulator. tryReverse(Object workingMemoryContext, Object context, Tuple leftTuple, InternalFactHandle handle, Object value, Declaration[] declarations, Declaration[] innerDeclarations, WorkingMemory workingMemory)booleanAccumulator. 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 -
Uses of WorkingMemory in org.drools.core.util.debug
Constructors in org.drools.core.util.debug with parameters of type WorkingMemory Constructor Description SessionInspector(WorkingMemory session)
-