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.base | |
org.drools.core.beliefsystem | |
org.drools.core.beliefsystem.defeasible | |
org.drools.core.beliefsystem.jtms | |
org.drools.core.beliefsystem.simple | |
org.drools.core.common | |
org.drools.core.conflict | |
org.drools.core.datasources | |
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.marshalling.impl | |
org.drools.core.phreak | |
org.drools.core.reteoo | |
org.drools.core.ruleunit | |
org.drools.core.spi | |
org.drools.core.time.impl | |
org.drools.core.util |
Modifier and Type | Method and Description |
---|---|
void |
WorkingMemoryEntryPoint.update(org.kie.api.runtime.rule.FactHandle handle,
Object object,
BitMask mask,
Class<?> modifiedClass,
Activation activation) |
Modifier and Type | Method and Description |
---|---|
Activation |
DefaultKnowledgeHelper.getMatch() |
Activation |
SequentialKnowledgeHelper.getMatch() |
Modifier and Type | Method and Description |
---|---|
protected <T,K> T |
TraitHelper.applyManyTraits(Activation activation,
K core,
Collection<Class<? extends Thing>> traits,
Object value,
boolean logical,
org.kie.api.internal.runtime.beliefs.Mode... modes) |
protected <T,K> T |
TraitHelper.applyTrait(Activation activation,
K core,
Class<T> trait,
Object value,
boolean logical,
org.kie.api.internal.runtime.beliefs.Mode... modes) |
void |
WrappedStatefulKnowledgeSessionForRHS.cancelActivation(Activation activation,
boolean declarativeAgenda) |
void |
TraitHelper.delete(org.kie.api.runtime.rule.FactHandle handle,
Activation activation) |
protected <T> T |
TraitHelper.doInsertTrait(Activation activation,
T thing,
Object core,
boolean logical,
org.kie.api.internal.runtime.beliefs.Mode... modes) |
<T,K> T |
TraitHelper.don(Activation activation,
K core,
Class<T> trait,
boolean logical,
org.kie.api.internal.runtime.beliefs.Mode... modes) |
<T,K> T |
WrappedStatefulKnowledgeSessionForRHS.don(Activation activation,
K core,
Class<T> trait,
boolean b,
org.kie.api.internal.runtime.beliefs.Mode[] modes) |
<T,K> T |
TraitHelper.don(Activation activation,
K core,
Class<T> trait,
Modify initArgs,
boolean logical,
org.kie.api.internal.runtime.beliefs.Mode... modes) |
<T,K> T |
TraitHelper.don(Activation activation,
K core,
Collection<Class<? extends Thing>> traits,
boolean logical,
org.kie.api.internal.runtime.beliefs.Mode... modes) |
<T,K> T |
WrappedStatefulKnowledgeSessionForRHS.don(Activation activation,
K core,
Collection<Class<? extends Thing>> traits,
boolean b,
org.kie.api.internal.runtime.beliefs.Mode[] modes) |
Map |
WrappedStatefulKnowledgeSessionForRHS.getActivationParameters(Activation activation) |
void |
WrappedStatefulKnowledgeSessionForRHS.guardRuleUnit(Class<? extends org.kie.api.runtime.rule.RuleUnit> ruleUnitClass,
Activation activation) |
void |
WrappedStatefulKnowledgeSessionForRHS.guardRuleUnit(org.kie.api.runtime.rule.RuleUnit ruleUnit,
Activation activation) |
org.kie.api.runtime.rule.FactHandle |
TraitHelper.insert(Object object,
Activation activation) |
void |
TraitHelper.insertLogical(Activation activation,
Object object,
org.kie.api.internal.runtime.beliefs.Mode... modes) |
void |
TraitHelper.replaceCore(InternalFactHandle handle,
Object object,
Object originalObject,
BitMask modificationMask,
Class<? extends Object> aClass,
Activation activation) |
void |
DefaultKnowledgeHelper.setActivation(Activation agendaItem) |
void |
SequentialKnowledgeHelper.setActivation(Activation agendaItem) |
<T,K,X extends TraitableBean> |
WrappedStatefulKnowledgeSessionForRHS.shed(Activation activation,
TraitableBean<K,X> core,
Class<T> trait) |
<T,K,X extends TraitableBean> |
TraitHelper.shed(TraitableBean<K,X> core,
Class<T> trait,
Activation activation) |
void |
WrappedStatefulKnowledgeSessionForRHS.switchToRuleUnit(Class<? extends org.kie.api.runtime.rule.RuleUnit> ruleUnitClass,
Activation activation) |
void |
WrappedStatefulKnowledgeSessionForRHS.switchToRuleUnit(org.kie.api.runtime.rule.RuleUnit ruleUnit,
Activation activation) |
void |
TraitHelper.update(org.kie.api.runtime.rule.FactHandle handle,
BitMask mask,
Class<?> modifiedClass,
Activation activation) |
void |
TraitHelper.update(org.kie.api.runtime.rule.FactHandle handle,
Object newObject,
Activation activation) |
void |
WrappedStatefulKnowledgeSessionForRHS.update(org.kie.api.runtime.rule.FactHandle handle,
Object object,
BitMask mask,
Class<?> modifiedClass,
Activation activation) |
void |
WrappedStatefulKnowledgeSessionForRHS.updateTraits(InternalFactHandle h,
BitMask mask,
Class<?> modifiedClass,
Activation activation) |
void |
TraitHelper.updateTraits(InternalFactHandle handle,
BitMask mask,
Class<?> modifiedClass,
Activation activation) |
Constructor and Description |
---|
DefaultKnowledgeHelper(Activation activation,
WorkingMemory workingMemory) |
Modifier and Type | Method and Description |
---|---|
void |
BeliefSystem.delete(M mode,
RuleImpl rule,
Activation activation,
Object payload,
BeliefSet<M> beliefSet,
PropagationContext context) |
BeliefSet<M> |
BeliefSystem.insert(M mode,
RuleImpl rule,
Activation activation,
Object payload,
BeliefSet<M> beliefSet,
PropagationContext context,
ObjectTypeConf typeConf) |
LogicalDependency |
BeliefSystem.newLogicalDependency(Activation<M> activation,
BeliefSet<M> beliefSet,
Object object,
Object value) |
Modifier and Type | Method and Description |
---|---|
BeliefSet<M> |
DefeasibleBeliefSystem.insert(M mode,
RuleImpl rule,
Activation activation,
Object payload,
BeliefSet<M> beliefSet,
PropagationContext context,
ObjectTypeConf typeConf) |
LogicalDependency<M> |
DefeasibleBeliefSystem.newLogicalDependency(Activation<M> activation,
BeliefSet<M> beliefSet,
Object object,
Object value) |
Constructor and Description |
---|
DefeasibleLogicalDependency(Activation<M> justifier,
Object justified,
Object object,
M mode) |
Modifier and Type | Method and Description |
---|---|
void |
JTMSBeliefSystem.delete(M mode,
RuleImpl rule,
Activation activation,
Object payload,
BeliefSet<M> beliefSet,
PropagationContext context) |
BeliefSet<M> |
JTMSBeliefSystem.insert(M mode,
RuleImpl rule,
Activation activation,
Object payload,
BeliefSet<M> beliefSet,
PropagationContext context,
ObjectTypeConf typeConf) |
LogicalDependency |
JTMSBeliefSystem.newLogicalDependency(Activation<M> activation,
BeliefSet<M> beliefSet,
Object object,
Object value) |
Modifier and Type | Method and Description |
---|---|
Activation<T> |
SimpleLogicalDependency.getJustifier() |
Modifier and Type | Method and Description |
---|---|
void |
SimpleBeliefSystem.delete(SimpleMode mode,
RuleImpl rule,
Activation activation,
Object payload,
BeliefSet<SimpleMode> beliefSet,
PropagationContext context) |
BeliefSet<SimpleMode> |
SimpleBeliefSystem.insert(SimpleMode mode,
RuleImpl rule,
Activation activation,
Object payload,
BeliefSet<SimpleMode> beliefSet,
PropagationContext context,
ObjectTypeConf typeConf) |
LogicalDependency |
SimpleBeliefSystem.newLogicalDependency(Activation activation,
BeliefSet beliefSet,
Object object,
Object value) |
Constructor and Description |
---|
BeliefSystemLogicalCallback(InternalFactHandle handle,
PropagationContext context,
Activation activation,
boolean update,
boolean fullyRetract) |
SimpleLogicalDependency(Activation<T> justifier,
Object justified,
Object object,
T mode) |
SimpleLogicalDependency(Activation<T> justifier,
Object justified,
T mode) |
Modifier and Type | Interface and Description |
---|---|
interface |
AgendaItem<T extends ModedAssertion<T>> |
Modifier and Type | Class and Description |
---|---|
class |
AgendaItemImpl<T extends ModedAssertion<T>>
Item entry in the
Agenda . |
class |
VisitedAgendaGroup |
Modifier and Type | Method and Description |
---|---|
Activation |
ActivationNode.getActivation() |
Activation |
ActivationGroupNode.getActivation() |
Activation[] |
DefaultAgenda.getActivations() |
Activation[] |
AgendaGroupQueueImpl.getActivations() |
Activation[] |
InternalAgenda.getActivations() |
Activation[] |
CompositeDefaultAgenda.getActivations() |
Activation[] |
InternalAgendaGroup.getActivations() |
Activation[] |
RuleFlowGroupImpl.getActivations() |
Activation[] |
AgendaGroupQueueImpl.getAndClear() |
Activation[] |
InternalAgendaGroup.getAndClear() |
Activation[] |
RuleFlowGroupImpl.getAndClear() |
Activation<M> |
LogicalDependency.getJustifier() |
Activation |
AgendaGroupQueueImpl.peek() |
Activation |
InternalAgendaGroup.peek() |
Activation |
RuleFlowGroupImpl.peek() |
Activation |
AgendaGroupQueueImpl.remove() |
Activation |
InternalAgendaGroup.remove() |
Activation |
RuleFlowGroupImpl.remove() |
Modifier and Type | Method and Description |
---|---|
boolean |
ActivationsFilter.accept(Activation activation,
InternalWorkingMemory workingMemory,
TerminalNode rtn)
Returns true if a new activation should be created for the given propagation
or false otherwise
|
void |
AgendaGroupQueueImpl.add(Activation activation) |
void |
InternalAgendaGroup.add(Activation activation) |
void |
RuleFlowGroupImpl.add(Activation activation) |
void |
ActivationGroupImpl.addActivation(Activation activation) |
void |
RuleFlowGroupImpl.addActivation(Activation activation) |
InternalFactHandle |
TruthMaintenanceSystem.addLogicalDependency(InternalFactHandle handle,
Object object,
Object value,
Activation activation,
PropagationContext context,
RuleImpl rule,
ObjectTypeConf typeConf) |
InternalFactHandle |
TruthMaintenanceSystem.addLogicalDependency(InternalFactHandle handle,
Object object,
Object value,
Activation activation,
PropagationContext context,
RuleImpl rule,
ObjectTypeConf typeConf,
boolean read) |
void |
InternalWorkingMemory.cancelActivation(Activation activation,
boolean declarativeAgenda) |
void |
DefaultAgenda.cancelActivation(Tuple leftTuple,
PropagationContext context,
Activation activation,
TerminalNode rtn) |
void |
InternalAgenda.cancelActivation(Tuple leftTuple,
PropagationContext context,
Activation activation,
TerminalNode rtn) |
void |
CompositeDefaultAgenda.cancelActivation(Tuple leftTuple,
PropagationContext context,
Activation activation,
TerminalNode rtn) |
PropagationContext |
NamedEntryPoint.delete(InternalFactHandle handle,
Object object,
ObjectTypeConf typeConf,
RuleImpl rule,
Activation activation) |
PropagationContext |
InternalWorkingMemoryEntryPoint.delete(InternalFactHandle handle,
Object object,
ObjectTypeConf typeConf,
RuleImpl rule,
Activation activation) |
PropagationContext |
NamedEntryPoint.delete(InternalFactHandle handle,
Object object,
ObjectTypeConf typeConf,
RuleImpl rule,
Activation activation,
TerminalNode terminalNode) |
PropagationContext |
InternalWorkingMemoryEntryPoint.delete(InternalFactHandle handle,
Object object,
ObjectTypeConf typeConf,
RuleImpl rule,
Activation activation,
TerminalNode terminalNode) |
<T,K> T |
InternalWorkingMemoryActions.don(Activation activation,
K core,
Class<T> trait,
boolean b,
org.kie.api.internal.runtime.beliefs.Mode[] modes) |
<T,K> T |
InternalWorkingMemoryActions.don(Activation activation,
K core,
Collection<Class<? extends Thing>> traits,
boolean b,
org.kie.api.internal.runtime.beliefs.Mode[] modes) |
void |
DefaultAgenda.handleException(InternalWorkingMemory wm,
Activation activation,
Exception e) |
void |
InternalAgenda.handleException(InternalWorkingMemory wm,
Activation activation,
Exception e) |
void |
CompositeDefaultAgenda.handleException(InternalWorkingMemory wm,
Activation activation,
Exception e) |
InternalFactHandle |
TruthMaintenanceSystem.insert(Object object,
Object tmsValue,
RuleImpl rule,
Activation activation) |
void |
TruthMaintenanceSystem.readLogicalDependency(InternalFactHandle handle,
Object object,
Object value,
Activation activation,
PropagationContext context,
RuleImpl rule,
ObjectTypeConf typeConf)
Adds a justification for the FactHandle to the justifiedMap.
|
void |
AgendaGroupQueueImpl.remove(Activation activation) |
void |
InternalAgendaGroup.remove(Activation activation) |
void |
RuleFlowGroupImpl.remove(Activation activation) |
void |
ActivationGroupImpl.removeActivation(Activation activation) |
void |
RuleFlowGroupImpl.removeActivation(Activation activation) |
static <M extends ModedAssertion<M>> |
TruthMaintenanceSystemHelper.removeLogicalDependencies(Activation<M> activation,
PropagationContext context,
RuleImpl rule) |
<T,K,X extends TraitableBean> |
InternalWorkingMemoryActions.shed(Activation activation,
TraitableBean<K,X> core,
Class<T> trait) |
void |
InternalWorkingMemoryActions.update(org.kie.api.runtime.rule.FactHandle handle,
Object object,
BitMask mask,
Class<?> modifiedClass,
Activation activation) |
void |
DisconnectedWorkingMemoryEntryPoint.update(org.kie.api.runtime.rule.FactHandle handle,
Object object,
BitMask mask,
Class<?> modifiedClass,
Activation activation) |
void |
NamedEntryPoint.update(org.kie.api.runtime.rule.FactHandle factHandle,
Object object,
BitMask mask,
Class<?> modifiedClass,
Activation activation) |
InternalFactHandle |
NamedEntryPoint.update(InternalFactHandle handle,
Object object,
BitMask mask,
Class<?> modifiedClass,
Activation activation) |
InternalFactHandle |
InternalWorkingMemoryEntryPoint.update(InternalFactHandle handle,
Object object,
BitMask mask,
Class<?> modifiedClass,
Activation activation) |
void |
InternalWorkingMemoryActions.updateTraits(InternalFactHandle h,
BitMask mask,
Class<?> modifiedClass,
Activation activation) |
Constructor and Description |
---|
ActivationGroupNode(Activation activation,
InternalActivationGroup activationGroup) |
ActivationNode(Activation activation,
Object parentContainer) |
Modifier and Type | Method and Description |
---|---|
int |
SalienceConflictResolver.compare(Activation lhs,
Activation rhs) |
int |
SalienceConflictResolver.compare(Activation lhs,
Activation rhs) |
int |
SequentialConflictResolver.compare(Activation existing,
Activation adding) |
int |
SequentialConflictResolver.compare(Activation existing,
Activation adding) |
int |
PhreakConflictResolver.compare(Activation existing,
Activation adding) |
int |
PhreakConflictResolver.compare(Activation existing,
Activation adding) |
int |
DepthConflictResolver.compare(Activation existing,
Activation adding) |
int |
DepthConflictResolver.compare(Activation existing,
Activation adding) |
static int |
PhreakConflictResolver.doCompare(Activation existing,
Activation adding) |
static int |
PhreakConflictResolver.doCompare(Activation existing,
Activation adding) |
Modifier and Type | Method and Description |
---|---|
void |
CursoredDataSource.update(org.kie.api.runtime.rule.FactHandle fh,
Object obj,
BitMask mask,
Class<?> modifiedClass,
Activation activation) |
void |
InternalDataSource.update(org.kie.api.runtime.rule.FactHandle fh,
Object obj,
BitMask mask,
Class<?> modifiedClass,
Activation activation) |
Modifier and Type | Method and Description |
---|---|
Activation |
ActivationEvent.getActivation() |
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) |
void |
AgendaEventSupport.fireAfterActivationFired(Activation activation,
InternalWorkingMemory workingMemory) |
void |
AgendaEventSupport.fireBeforeActivationFired(Activation activation,
WorkingMemory workingMemory) |
Constructor and Description |
---|
ActivationCancelledEvent(Activation activation,
org.kie.api.event.rule.MatchCancelledCause cause) |
ActivationCreatedEvent(Activation activation) |
ActivationEvent(Activation activation) |
AfterActivationFiredEvent(Activation activation) |
BeforeActivationFiredEvent(Activation activation) |
Modifier and Type | Method and Description |
---|---|
void |
RuleUnitExecutorSession.cancelActivation(Activation activation) |
void |
InternalRuleUnitExecutor.cancelActivation(Activation activation) |
void |
StatefulKnowledgeSessionImpl.cancelActivation(Activation activation,
boolean declarativeAgenda) |
<T,K> T |
StatefulKnowledgeSessionImpl.don(Activation activation,
K core,
Class<T> trait,
boolean b,
org.kie.api.internal.runtime.beliefs.Mode[] modes) |
<T,K> T |
StatefulKnowledgeSessionImpl.don(Activation activation,
K core,
Collection<Class<? extends Thing>> traits,
boolean b,
org.kie.api.internal.runtime.beliefs.Mode[] modes) |
Map |
StatefulKnowledgeSessionImpl.getActivationParameters(Activation activation) |
void |
RuleUnitExecutorSession.guardRuleUnit(Class<? extends org.kie.api.runtime.rule.RuleUnit> ruleUnitClass,
Activation activation) |
void |
InternalRuleUnitExecutor.guardRuleUnit(Class<? extends org.kie.api.runtime.rule.RuleUnit> ruleUnitClass,
Activation activation) |
void |
RuleUnitExecutorSession.guardRuleUnit(org.kie.api.runtime.rule.RuleUnit ruleUnit,
Activation activation) |
void |
InternalRuleUnitExecutor.guardRuleUnit(org.kie.api.runtime.rule.RuleUnit ruleUnit,
Activation activation) |
<T,K,X extends TraitableBean> |
StatefulKnowledgeSessionImpl.shed(Activation activation,
TraitableBean<K,X> core,
Class<T> trait) |
void |
RuleUnitExecutorSession.switchToRuleUnit(Class<? extends org.kie.api.runtime.rule.RuleUnit> ruleUnitClass,
Activation activation) |
void |
InternalRuleUnitExecutor.switchToRuleUnit(Class<? extends org.kie.api.runtime.rule.RuleUnit> ruleUnitClass,
Activation activation) |
void |
RuleUnitExecutorSession.switchToRuleUnit(org.kie.api.runtime.rule.RuleUnit ruleUnit,
Activation activation) |
void |
InternalRuleUnitExecutor.switchToRuleUnit(org.kie.api.runtime.rule.RuleUnit ruleUnit,
Activation activation) |
void |
StatefulKnowledgeSessionImpl.update(org.kie.api.runtime.rule.FactHandle factHandle,
Object object,
BitMask mask,
Class<?> modifiedClass,
Activation activation)
modify is implemented as half way retract / assert due to the truth
maintenance issues.
|
void |
StatefulKnowledgeSessionImpl.updateTraits(InternalFactHandle h,
BitMask mask,
Class<?> modifiedClass,
Activation activation) |
Modifier and Type | Method and Description |
---|---|
boolean |
ProtobufInputMarshaller.PBActivationsFilter.accept(Activation activation,
InternalWorkingMemory workingMemory,
TerminalNode rtn) |
int |
ProtobufOutputMarshaller.ActivationsSorter.compare(Activation o1,
Activation o2) |
int |
ProtobufOutputMarshaller.ActivationsSorter.compare(Activation o1,
Activation o2) |
Modifier and Type | Class and Description |
---|---|
class |
RuleAgendaItem |
Modifier and Type | Method and Description |
---|---|
void |
RuleExecutor.fireActivation(InternalWorkingMemory wm,
InternalAgenda agenda,
Activation activation) |
void |
RuleExecutor.fireConsequenceEvent(InternalWorkingMemory wm,
InternalAgenda agenda,
Activation activation,
String consequenceName) |
Modifier and Type | Class and Description |
---|---|
class |
RuleTerminalNodeLeftTuple<T extends ModedAssertion<T>> |
Modifier and Type | Method and Description |
---|---|
Set<Activation> |
Guard.getActivations() |
Modifier and Type | Method and Description |
---|---|
void |
Guard.addActivation(Activation activation) |
void |
RuleUnitGuardSystem.registerGuard(org.kie.api.runtime.rule.RuleUnit ruleUnit,
Activation activation) |
void |
Guard.removeActivation(Activation activation) |
void |
RuleUnitGuardSystem.removeActivation(Activation activation) |
Modifier and Type | Method and Description |
---|---|
Activation |
KnowledgeHelper.getMatch() |
Modifier and Type | Method and Description |
---|---|
void |
InternalActivationGroup.addActivation(Activation activation) |
void |
ConsequenceExceptionHandler.handleException(Activation activation,
WorkingMemory workingMemory,
Exception exception) |
void |
InternalActivationGroup.removeActivation(Activation activation) |
void |
KnowledgeHelper.setActivation(Activation agendaItem) |
Modifier and Type | Method and Description |
---|---|
Trigger |
CompositeMaxDurationTimer.createTrigger(Activation item,
InternalWorkingMemory wm) |
Trigger |
DurationTimer.createTrigger(Activation item,
InternalWorkingMemory wm) |
Modifier and Type | Method and Description |
---|---|
Activation |
BinaryHeapQueue.dequeue()
Returns the Queueable on top of heap and remove it.
|
Activation |
BinaryHeapQueue.Synchronized.dequeue() |
Activation |
Queue.dequeue() |
Activation |
BinaryHeapQueue.dequeue(Activation activation) |
Activation |
BinaryHeapQueue.Synchronized.dequeue(Activation activation) |
Activation |
Queue.dequeue(Activation activation) |
Activation[] |
BinaryHeapQueue.getAndClear() |
Activation[] |
BinaryHeapQueue.Synchronized.getAndClear() |
Activation |
BinaryHeapQueue.peek() |
Activation |
BinaryHeapQueue.Synchronized.peek() |
Modifier and Type | Method and Description |
---|---|
Activation |
BinaryHeapQueue.dequeue(Activation activation) |
Activation |
BinaryHeapQueue.Synchronized.dequeue(Activation activation) |
Activation |
Queue.dequeue(Activation activation) |
void |
BinaryHeapQueue.enqueue(Activation element)
Inserts an Queueable into queue.
|
void |
BinaryHeapQueue.Synchronized.enqueue(Activation element) |
void |
Queue.enqueue(Activation queueable) |
protected void |
BinaryHeapQueue.percolateUpMaxHeap(Activation element)
Percolates a new element up heap from the bottom.
|
Constructor and Description |
---|
BinaryHeapQueue(Comparator<Activation> comparator)
Constructs a new
BinaryHeap that will use the given
comparator to order its elements. |
BinaryHeapQueue(Comparator<Activation> comparator,
int capacity)
Constructs a new
BinaryHeap . |
Synchronized(Comparator<Activation> comparator) |
Synchronized(Comparator<Activation> comparator,
int capacity) |
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.