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.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[] |
Agenda.getActivations() |
Activation[] |
Agenda.getScheduledActivations() |
Modifier and Type | Method and Description |
---|---|
Activation |
DefaultKnowledgeHelper.getMatch() |
Activation |
SequentialKnowledgeHelper.getMatch() |
Modifier and Type | Method and Description |
---|---|
boolean |
RuleNameMatchesAgendaFilter.accept(Activation activation) |
boolean |
RuleNameStartsWithAgendaFilter.accept(Activation activation) |
boolean |
RuleNameEqualsAgendaFilter.accept(Activation activation) |
boolean |
RuleNameEndsWithAgendaFilter.accept(Activation activation) |
void |
DefaultKnowledgeHelper.setActivation(Activation agendaItem) |
void |
SequentialKnowledgeHelper.setActivation(Activation agendaItem) |
Constructor and Description |
---|
DefaultKnowledgeHelper(Activation activation,
WorkingMemory workingMemory) |
Modifier and Type | Method and Description |
---|---|
LogicalDependency |
BeliefSystem.newLogicalDependency(Activation activation,
BeliefSet beliefSet,
Object object,
Object value) |
Modifier and Type | Method and Description |
---|---|
LogicalDependency |
DefeasibleBeliefSystem.newLogicalDependency(Activation activation,
BeliefSet beliefSet,
Object object,
Object value) |
Constructor and Description |
---|
DefeasibleLogicalDependency(Activation justifier,
Object justified) |
DefeasibleLogicalDependency(Activation justifier,
Object justified,
Object object,
Object value) |
Modifier and Type | Method and Description |
---|---|
LogicalDependency |
JTMSBeliefSystem.newLogicalDependency(Activation activation,
BeliefSet beliefSet,
Object object,
Object value) |
Modifier and Type | Method and Description |
---|---|
Activation |
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 justifier,
Object justified) |
SimpleLogicalDependency(Activation justifier,
Object justified,
Object object,
Object value) |
Modifier and Type | Interface and Description |
---|---|
interface |
AgendaItem |
Modifier and Type | Class and Description |
---|---|
class |
AgendaItemImpl
Item entry in the
Agenda . |
class |
ScheduledAgendaItem |
class |
VisitedAgendaGroup |
Modifier and Type | Method and Description |
---|---|
Activation |
ActivationGroupNode.getActivation() |
Activation |
ActivationNode.getActivation() |
Activation[] |
DefaultAgenda.getActivations() |
Activation[] |
RuleFlowGroupImpl.getActivations() |
Activation[] |
AgendaGroupQueueImpl.getActivations() |
Activation[] |
InternalAgendaGroup.getActivations() |
Activation[] |
RuleFlowGroupImpl.getAndClear() |
Activation[] |
AgendaGroupQueueImpl.getAndClear() |
Activation[] |
InternalAgendaGroup.getAndClear() |
Activation |
LogicalDependency.getJustifier() |
Activation[] |
DefaultAgenda.getScheduledActivations() |
Activation |
RuleFlowGroupImpl.peek() |
Activation |
AgendaGroupQueueImpl.peek() |
Activation |
InternalAgendaGroup.peek() |
Activation |
RuleFlowGroupImpl.remove() |
Activation |
AgendaGroupQueueImpl.remove() |
Activation |
InternalAgendaGroup.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 |
AgendaGroupQueueImpl.add(Activation activation) |
void |
InternalAgendaGroup.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,
Rule rule,
ObjectTypeConf typeConf) |
void |
TruthMaintenanceSystem.addLogicalDependency(InternalFactHandle handle,
Object object,
Object value,
Activation activation,
PropagationContext context,
Rule 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 |
AbstractWorkingMemory.delete(FactHandle factHandle,
Rule rule,
Activation activation) |
void |
NamedEntryPoint.delete(FactHandle factHandle,
Rule rule,
Activation activation) |
void |
InternalWorkingMemoryEntryPoint.delete(FactHandle factHandle,
Rule rule,
Activation activation) |
void |
InternalWorkingMemoryActions.delete(FactHandle handle,
Rule rule,
Activation activation) |
void |
InternalWorkingMemory.delete(FactHandle factHandle,
Rule rule,
Activation activation) |
void |
DefaultAgenda.fireActivation(Activation activation)
Fire this item.
|
void |
InternalAgenda.fireActivation(Activation activation) |
boolean |
DefaultAgenda.fireTimedActivation(Activation activation,
boolean saveForLater) |
boolean |
InternalAgenda.fireTimedActivation(Activation activation,
boolean saveForLater) |
Map |
AbstractWorkingMemory.getActivationParameters(Activation activation)
Helper method
|
void |
AbstractWorkingMemory.insert(InternalFactHandle handle,
Object object,
Rule rule,
Activation activation,
ObjectTypeConf typeConf) |
void |
InternalWorkingMemory.insert(InternalFactHandle handle,
Object object,
Rule rule,
Activation activation,
ObjectTypeConf typeConf) |
void |
NamedEntryPoint.insert(InternalFactHandle handle,
Object object,
Rule rule,
Activation activation,
ObjectTypeConf typeConf,
PropagationContext pctx) |
FactHandle |
AbstractWorkingMemory.insert(Object object,
Object tmsValue,
boolean dynamic,
boolean logical,
Rule rule,
Activation activation) |
protected FactHandle |
NamedEntryPoint.insert(Object object,
Object tmsValue,
boolean dynamic,
boolean logical,
Rule rule,
Activation activation) |
FactHandle |
InternalWorkingMemoryActions.insert(Object object,
Object value,
boolean dynamic,
boolean logical,
Rule rule,
Activation activation) |
void |
TruthMaintenanceSystem.readLogicalDependency(InternalFactHandle handle,
Object object,
Object value,
Activation activation,
PropagationContext context,
Rule rule,
ObjectTypeConf typeConf)
Adds a justification for the FactHandle to the justifiedMap.
|
void |
RuleFlowGroupImpl.remove(Activation activation) |
void |
AgendaGroupQueueImpl.remove(Activation activation) |
void |
InternalAgendaGroup.remove(Activation activation) |
void |
ActivationGroupImpl.removeActivation(Activation activation) |
void |
RuleFlowGroupImpl.removeActivation(Activation activation) |
static void |
TruthMaintenanceSystemHelper.removeLogicalDependencies(Activation activation,
PropagationContext context,
Rule rule) |
void |
AbstractWorkingMemory.update(org.kie.api.runtime.rule.FactHandle factHandle,
Object object,
long mask,
Class<?> modifiedClass,
Activation activation) |
void |
AbstractWorkingMemory.update(FactHandle factHandle,
Object object,
long mask,
Class<?> modifiedClass,
Activation activation)
modify is implemented as half way retract / assert due to the truth
maintenance issues.
|
void |
NamedEntryPoint.update(org.kie.api.runtime.rule.FactHandle factHandle,
Object object,
long mask,
Class<?> modifiedClass,
Activation activation) |
void |
InternalWorkingMemoryEntryPoint.update(org.kie.api.runtime.rule.FactHandle handle,
Object object,
long mask,
Class<?> modifiedClass,
Activation activation) |
void |
InternalWorkingMemoryActions.update(FactHandle handle,
Object object,
long mask,
Class<?> modifiedClass,
Activation activation) |
InternalFactHandle |
NamedEntryPoint.update(InternalFactHandle handle,
boolean updateLogical,
Object object,
long mask,
Class<?> modifiedClass,
Activation activation) |
Constructor and Description |
---|
ActivationGroupNode(Activation activation,
ActivationGroup activationGroup) |
ActivationNode(Activation activation,
Object parentContainer) |
Modifier and Type | Method and Description |
---|---|
int |
SimplicityConflictResolver.compare(Activation lhs,
Activation rhs) |
int |
RecencyConflictResolver.compare(Activation lhs,
Activation rhs) |
int |
DepthConflictResolver.compare(Activation existing,
Activation adding) |
int |
SequentialConflictResolver.compare(Activation existing,
Activation adding) |
int |
TotalRecencyConflictResolver.compare(Activation lhs,
Activation rhs) |
int |
LoadOrderConflictResolver.compare(Activation lhs,
Activation rhs) |
int |
LifoConflictResolver.compare(Activation lhs,
Activation rhs) |
int |
ComplexityConflictResolver.compare(Activation lhs,
Activation rhs) |
int |
CompositeConflictResolver.compare(Activation lhs,
Activation rhs) |
int |
FifoConflictResolver.compare(Activation lhs,
Activation rhs) |
int |
SalienceConflictResolver.compare(Activation lhs,
Activation rhs) |
int |
PhreakConflictResolver.compare(Activation existing,
Activation adding) |
int |
RandomConflictResolver.compare(Activation lhs,
Activation rhs) |
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 |
---|---|
boolean |
StatefulKnowledgeSessionImpl.AgendaFilterWrapper.accept(Activation activation) |
void |
StatefulKnowledgeSessionImpl.delete(FactHandle factHandle,
Rule rule,
Activation activation) |
void |
StatefulKnowledgeSessionImpl.update(org.kie.api.runtime.rule.FactHandle factHandle,
Object object,
long mask,
Class<?> modifiedClass,
Activation activation) |
Modifier and Type | Method and Description |
---|---|
boolean |
ProtobufInputMarshaller.PBActivationsFilter.accept(Activation match) |
boolean |
ProtobufInputMarshaller.PBActivationsFilter.accept(Activation activation,
InternalWorkingMemory workingMemory,
TerminalNode rtn) |
int |
ProtobufOutputMarshaller.ActivationsSorter.compare(Activation o1,
Activation o2) |
Modifier and Type | Class and Description |
---|---|
class |
RuleAgendaItem |
Modifier and Type | Class and Description |
---|---|
class |
RuleTerminalNodeLeftTuple |
Modifier and Type | Method and Description |
---|---|
void |
DisposedReteooWorkingMemory.delete(FactHandle handle,
Rule rule,
Activation activation) |
void |
DisposedReteooWorkingMemory.insert(InternalFactHandle handle,
Object object,
Rule rule,
Activation activation,
ObjectTypeConf typeConf) |
FactHandle |
DisposedReteooWorkingMemory.insert(Object object,
Object value,
boolean dynamic,
boolean logical,
Rule rule,
Activation activation) |
void |
DisposedReteooWorkingMemory.update(FactHandle handle,
Object object,
long mask,
Class<?> modifiedClass,
Activation activation) |
void |
DisposedReteooWorkingMemory.update(org.kie.api.runtime.rule.FactHandle handle,
Object object,
long mask,
Class<?> modifiedClass,
Activation activation) |
Modifier and Type | Method and Description |
---|---|
Activation |
KnowledgeHelper.getMatch() |
Modifier and Type | Method and Description |
---|---|
boolean |
AgendaFilter.accept(Activation activation)
Determine if a given activation should be fired.
|
void |
ActivationGroup.addActivation(Activation activation) |
int |
ConflictResolver.compare(Activation lhs,
Activation rhs) |
void |
ConsequenceExceptionHandler.handleException(Activation activation,
WorkingMemory workingMemory,
Exception exception) |
void |
ActivationGroup.removeActivation(Activation activation) |
void |
KnowledgeHelper.setActivation(Activation agendaItem) |
Modifier and Type | Method and Description |
---|---|
Trigger |
DurationTimer.createTrigger(Activation item,
InternalWorkingMemory wm) |
Trigger |
CompositeMaxDurationTimer.createTrigger(Activation item,
InternalWorkingMemory wm) |
Trigger |
CronTimer.createTrigger(Activation item,
InternalWorkingMemory wm) |
Trigger |
Timer.createTrigger(Activation schedulableActivation,
InternalWorkingMemory workingMemory) |
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.