Package | Description |
---|---|
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.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.spi | |
org.drools.core.time.impl | |
org.drools.core.util |
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.internal.runtime.beliefs.Mode... modes) |
protected <T,K> T |
TraitHelper.applyTrait(Activation activation,
K core,
Class<T> trait,
Object value,
boolean logical,
org.kie.internal.runtime.beliefs.Mode... modes) |
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.internal.runtime.beliefs.Mode... modes) |
<T,K> T |
TraitHelper.don(Activation activation,
K core,
Class<T> trait,
boolean logical,
org.kie.internal.runtime.beliefs.Mode... modes) |
<T,K> T |
TraitHelper.don(Activation activation,
K core,
Class<T> trait,
Object initArgs,
boolean logical,
org.kie.internal.runtime.beliefs.Mode... modes) |
<T,K> T |
TraitHelper.don(Activation activation,
K core,
Collection<Class<? extends Thing>> traits,
boolean logical,
org.kie.internal.runtime.beliefs.Mode... modes) |
org.kie.api.runtime.rule.FactHandle |
TraitHelper.insert(Object object,
Activation activation) |
void |
TraitHelper.insertLogical(Activation activation,
Object object,
org.kie.internal.runtime.beliefs.Mode... modes) |
void |
DefaultKnowledgeHelper.setActivation(Activation agendaItem) |
void |
SequentialKnowledgeHelper.setActivation(Activation agendaItem) |
<T,K,X extends TraitableBean> |
TraitHelper.shed(TraitableBean<K,X> core,
Class<T> trait,
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 |
TraitHelper.updateTraits(InternalFactHandle handle,
BitMask mask,
Class<?> modifiedClass,
Activation activation) |
Constructor and Description |
---|
DefaultKnowledgeHelper(Activation activation,
WorkingMemory workingMemory) |
Modifier and Type | Method and Description |
---|---|
LogicalDependency |
BeliefSystem.newLogicalDependency(Activation<M> activation,
BeliefSet<M> beliefSet,
Object object,
Object value) |
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
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 |
---|---|
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 |
ScheduledAgendaItem<T extends ModedAssertion<T>> |
class |
VisitedAgendaGroup |
Modifier and Type | Method and Description |
---|---|
Activation |
ActivationGroupNode.getActivation() |
Activation |
ActivationNode.getActivation() |
Activation[] |
RuleFlowGroupImpl.getActivations() |
Activation[] |
DefaultAgenda.getActivations() |
Activation[] |
InternalAgenda.getActivations() |
Activation[] |
InternalAgendaGroup.getActivations() |
Activation[] |
AgendaGroupQueueImpl.getActivations() |
Activation[] |
RuleFlowGroupImpl.getAndClear() |
Activation[] |
InternalAgendaGroup.getAndClear() |
Activation[] |
AgendaGroupQueueImpl.getAndClear() |
Activation<M> |
LogicalDependency.getJustifier() |
Activation[] |
DefaultAgenda.getScheduledActivations() |
Activation[] |
InternalAgenda.getScheduledActivations() |
Activation |
RuleFlowGroupImpl.peek() |
Activation |
InternalAgendaGroup.peek() |
Activation |
AgendaGroupQueueImpl.peek() |
Activation |
RuleFlowGroupImpl.remove() |
Activation |
InternalAgendaGroup.remove() |
Activation |
AgendaGroupQueueImpl.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 |
RuleFlowGroupImpl.add(Activation activation) |
void |
InternalAgendaGroup.add(Activation activation) |
void |
AgendaGroupQueueImpl.add(Activation activation) |
void |
ActivationGroupImpl.addActivation(Activation activation) |
void |
RuleFlowGroupImpl.addActivation(Activation activation) |
void |
TruthMaintenanceSystem.addLogicalDependency(InternalFactHandle handle,
Object object,
Object value,
Activation activation,
PropagationContext context,
RuleImpl rule,
ObjectTypeConf typeConf) |
void |
TruthMaintenanceSystem.addLogicalDependency(InternalFactHandle handle,
Object object,
Object value,
Activation activation,
PropagationContext context,
RuleImpl rule,
ObjectTypeConf typeConf,
boolean read) |
void |
DefaultAgenda.cancelActivation(LeftTuple leftTuple,
PropagationContext context,
InternalWorkingMemory workingMemory,
Activation activation,
TerminalNode rtn) |
void |
InternalAgenda.cancelActivation(LeftTuple leftTuple,
PropagationContext context,
InternalWorkingMemory workingMemory,
Activation activation,
TerminalNode rtn) |
void |
InternalWorkingMemoryActions.delete(org.kie.api.runtime.rule.FactHandle handle,
RuleImpl rule,
Activation activation) |
void |
InternalWorkingMemoryEntryPoint.delete(org.kie.api.runtime.rule.FactHandle factHandle,
RuleImpl rule,
Activation activation) |
void |
NamedEntryPoint.delete(org.kie.api.runtime.rule.FactHandle factHandle,
RuleImpl rule,
Activation activation) |
void |
InternalWorkingMemory.delete(org.kie.api.runtime.rule.FactHandle factHandle,
RuleImpl rule,
Activation activation) |
void |
DefaultAgenda.fireActivation(Activation activation)
Fire this item.
|
void |
InternalAgenda.fireActivation(Activation activation) |
void |
DefaultAgenda.fireConsequenceEvent(Activation activation,
String consequenceName) |
void |
InternalAgenda.fireConsequenceEvent(Activation activation,
String consequenceName) |
boolean |
DefaultAgenda.fireTimedActivation(Activation activation) |
boolean |
InternalAgenda.fireTimedActivation(Activation activation) |
void |
InternalWorkingMemory.insert(InternalFactHandle handle,
Object object,
RuleImpl rule,
Activation activation,
ObjectTypeConf typeConf) |
void |
NamedEntryPoint.insert(InternalFactHandle handle,
Object object,
RuleImpl rule,
Activation activation,
ObjectTypeConf typeConf,
PropagationContext pctx) |
org.kie.api.runtime.rule.FactHandle |
InternalWorkingMemoryActions.insert(Object object,
Object value,
boolean dynamic,
boolean logical,
RuleImpl rule,
Activation activation) |
org.kie.api.runtime.rule.FactHandle |
NamedEntryPoint.insert(Object object,
Object tmsValue,
boolean dynamic,
boolean logical,
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 |
RuleFlowGroupImpl.remove(Activation activation) |
void |
InternalAgendaGroup.remove(Activation activation) |
void |
AgendaGroupQueueImpl.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) |
void |
InternalWorkingMemoryActions.update(org.kie.api.runtime.rule.FactHandle handle,
Object object,
BitMask mask,
Class<?> modifiedClass,
Activation activation) |
void |
InternalWorkingMemoryEntryPoint.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,
boolean updateLogical,
Object object,
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 |
PhreakConflictResolver.compare(Activation existing,
Activation adding) |
int |
PhreakConflictResolver.compare(Activation existing,
Activation adding) |
int |
SequentialConflictResolver.compare(Activation existing,
Activation adding) |
int |
SequentialConflictResolver.compare(Activation existing,
Activation adding) |
int |
DepthConflictResolver.compare(Activation existing,
Activation adding) |
int |
DepthConflictResolver.compare(Activation existing,
Activation adding) |
int |
SalienceConflictResolver.compare(Activation lhs,
Activation rhs) |
int |
SalienceConflictResolver.compare(Activation lhs,
Activation rhs) |
static int |
PhreakConflictResolver.doCompare(Activation existing,
Activation adding) |
static int |
PhreakConflictResolver.doCompare(Activation existing,
Activation adding) |
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 |
StatefulKnowledgeSessionImpl.delete(org.kie.api.runtime.rule.FactHandle factHandle,
RuleImpl rule,
Activation activation) |
<T,K> T |
StatefulKnowledgeSessionImpl.don(Activation activation,
K core,
Class<T> trait,
boolean b,
org.kie.internal.runtime.beliefs.Mode[] modes) |
<T,K> T |
StatefulKnowledgeSessionImpl.don(Activation activation,
K core,
Collection<Class<? extends Thing>> traits,
boolean b,
org.kie.internal.runtime.beliefs.Mode[] modes) |
Map |
StatefulKnowledgeSessionImpl.getActivationParameters(Activation activation)
Helper method
|
void |
StatefulKnowledgeSessionImpl.insert(InternalFactHandle handle,
Object object,
RuleImpl rule,
Activation activation,
ObjectTypeConf typeConf) |
org.kie.api.runtime.rule.FactHandle |
StatefulKnowledgeSessionImpl.insert(Object object,
Object tmsValue,
boolean dynamic,
boolean logical,
RuleImpl rule,
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 | Class and Description |
---|---|
class |
RuleTerminalNodeLeftTuple<T extends ModedAssertion<T>> |
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 |
Timer.createTrigger(Activation schedulableActivation,
InternalWorkingMemory workingMemory) |
Trigger |
CronTimer.createTrigger(Activation item,
InternalWorkingMemory wm) |
Trigger |
DurationTimer.createTrigger(Activation item,
InternalWorkingMemory wm) |
Trigger |
CompositeMaxDurationTimer.createTrigger(Activation item,
InternalWorkingMemory wm) |
Trigger |
ExpressionIntervalTimer.createTrigger(Activation item,
InternalWorkingMemory wm) |
Trigger |
IntervalTimer.createTrigger(Activation item,
InternalWorkingMemory wm) |
Modifier and Type | Method and Description |
---|---|
Activation |
Queue.dequeue() |
Activation |
BinaryHeapQueue.dequeue()
Returns the Queueable on top of heap and remove it.
|
Activation |
Queue.dequeue(Activation activation) |
Activation |
BinaryHeapQueue.dequeue(Activation activation) |
Activation[] |
BinaryHeapQueue.getAndClear() |
Activation |
BinaryHeapQueue.peek() |
Modifier and Type | Method and Description |
---|---|
Activation |
Queue.dequeue(Activation activation) |
Activation |
BinaryHeapQueue.dequeue(Activation activation) |
void |
Queue.enqueue(Activation queueable) |
void |
BinaryHeapQueue.enqueue(Activation element)
Inserts an Queueable into queue.
|
protected void |
BinaryHeapQueue.percolateUpMaxHeap(Activation element)
Percolates a new element up heap from the bottom.
|
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.