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.common | |
org.drools.core.impl | |
org.drools.core.reteoo |
Modifier and Type | Method and Description |
---|---|
int |
WorkingMemory.fireAllRules()
Fire all items on the agenda until empty.
|
int |
WorkingMemory.fireAllRules(AgendaFilter agendaFilter)
Fire all items on the agenda until empty, using the given AgendaFiler
|
int |
WorkingMemory.fireAllRules(AgendaFilter agendaFilter,
int fireLimit)
Fire all items on the agenda using the given AgendaFiler
until empty or at most 'fireLimit' rules have fired
|
int |
WorkingMemory.fireAllRules(int fireLimit)
Fire all items on the agenda until empty or at most 'fireLimit' rules have fired
|
FactHandle |
WorkingMemoryEntryPoint.insert(Object object)
Assert a fact.
|
FactHandle |
WorkingMemoryEntryPoint.insert(Object object,
boolean dynamic)
Insert a fact registering JavaBean
PropertyChangeListeners
on the Object to automatically trigger update calls
if dynamic is true . |
void |
WorkingMemoryEntryPoint.retract(org.kie.api.runtime.rule.FactHandle handle)
Retract a fact.
|
void |
WorkingMemoryEntryPoint.update(org.kie.api.runtime.rule.FactHandle handle,
Object object)
Inform the WorkingMemory that a Fact has been modified and that it
should now update the network.
|
Modifier and Type | Method and Description |
---|---|
FactHandle |
DefaultKnowledgeHelper.insert(Object object,
boolean dynamic) |
Modifier and Type | Method and Description |
---|---|
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 |
InternalRuleBase.assertObject(FactHandle handle,
Object object,
PropagationContext context,
InternalWorkingMemory workingMemory)
Assert a fact object.
|
static void |
TruthMaintenanceSystemHelper.clearLogicalDependencies(InternalFactHandle handle,
PropagationContext propagationContext) |
void |
AbstractWorkingMemory.delete(org.kie.api.runtime.rule.FactHandle handle) |
void |
NamedEntryPoint.delete(org.kie.api.runtime.rule.FactHandle handle) |
void |
InternalWorkingMemory.delete(FactHandle factHandle,
Rule rule,
Activation activation) |
void |
AbstractWorkingMemory.delete(FactHandle factHandle,
Rule rule,
Activation activation) |
void |
InternalWorkingMemoryActions.delete(FactHandle handle,
Rule rule,
Activation activation) |
void |
InternalWorkingMemoryEntryPoint.delete(FactHandle factHandle,
Rule rule,
Activation activation) |
void |
NamedEntryPoint.delete(FactHandle factHandle,
Rule rule,
Activation activation) |
int |
AbstractWorkingMemory.fireAllRules() |
int |
AbstractWorkingMemory.fireAllRules(AgendaFilter agendaFilter) |
int |
AbstractWorkingMemory.fireAllRules(AgendaFilter agendaFilter,
int fireLimit) |
int |
AbstractWorkingMemory.fireAllRules(int fireLimit) |
FactHandle |
AbstractWorkingMemory.insert(Object object) |
FactHandle |
NamedEntryPoint.insert(Object object) |
FactHandle |
AbstractWorkingMemory.insert(Object object,
boolean dynamic) |
FactHandle |
NamedEntryPoint.insert(Object object,
boolean dynamic) |
FactHandle |
AbstractWorkingMemory.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) |
protected FactHandle |
NamedEntryPoint.insert(Object object,
Object tmsValue,
boolean dynamic,
boolean logical,
Rule rule,
Activation activation) |
FactHandle |
AbstractWorkingMemory.insertLogical(Object object) |
FactHandle |
AbstractWorkingMemory.insertLogical(Object object,
boolean dynamic) |
FactHandle |
InternalWorkingMemoryActions.insertLogical(Object object,
boolean dynamic) |
FactHandle |
AbstractWorkingMemory.insertLogical(Object object,
Object value) |
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.
|
static void |
TruthMaintenanceSystemHelper.removeLogicalDependencies(Activation activation,
PropagationContext context,
Rule rule) |
static void |
TruthMaintenanceSystemHelper.removeLogicalDependencies(InternalFactHandle handle,
PropagationContext propagationContext) |
void |
AbstractWorkingMemory.retract(org.kie.api.runtime.rule.FactHandle handle) |
void |
NamedEntryPoint.retract(org.kie.api.runtime.rule.FactHandle handle) |
void |
InternalRuleBase.retractObject(FactHandle handle,
PropagationContext context,
AbstractWorkingMemory workingMemory)
Retract a fact object.
|
void |
AbstractWorkingMemory.update(org.kie.api.runtime.rule.FactHandle handle,
Object object) |
void |
NamedEntryPoint.update(org.kie.api.runtime.rule.FactHandle factHandle,
Object object) |
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 |
InternalWorkingMemoryActions.update(FactHandle handle,
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 |
NamedEntryPoint.update(org.kie.api.runtime.rule.FactHandle factHandle,
Object object,
long mask,
Class<?> modifiedClass,
Activation activation) |
InternalFactHandle |
NamedEntryPoint.update(InternalFactHandle handle,
boolean updateLogical,
Object object,
long mask,
Class<?> modifiedClass,
Activation activation) |
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
void |
ReteooRuleBase.assertObject(FactHandle handle,
Object object,
PropagationContext context,
InternalWorkingMemory workingMemory)
Assert a fact object.
|
void |
DisposedReteooWorkingMemory.delete(org.kie.api.runtime.rule.FactHandle handle) |
void |
DisposedReteooWorkingMemory.delete(FactHandle handle,
Rule rule,
Activation activation) |
int |
DisposedReteooWorkingMemory.fireAllRules() |
int |
DisposedReteooWorkingMemory.fireAllRules(AgendaFilter agendaFilter) |
int |
DisposedReteooWorkingMemory.fireAllRules(AgendaFilter agendaFilter,
int fireLimit) |
int |
DisposedReteooWorkingMemory.fireAllRules(int fireLimit) |
FactHandle |
DisposedReteooWorkingMemory.insert(Object object) |
FactHandle |
DisposedReteooWorkingMemory.insert(Object object,
boolean dynamic) |
FactHandle |
DisposedReteooWorkingMemory.insert(Object object,
Object value,
boolean dynamic,
boolean logical,
Rule rule,
Activation activation) |
FactHandle |
DisposedReteooWorkingMemory.insertLogical(Object object,
boolean dynamic) |
void |
DisposedReteooWorkingMemory.retract(org.kie.api.runtime.rule.FactHandle handle) |
void |
ReteooRuleBase.retractObject(FactHandle handle,
PropagationContext context,
AbstractWorkingMemory workingMemory)
Retract a fact object.
|
void |
DisposedReteooWorkingMemory.update(org.kie.api.runtime.rule.FactHandle handle,
Object object) |
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) |
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.