|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use FactException | |
---|---|
org.drools | This is the engine that works off binary RuleBases, you will mostly use WorkingMemory, RuleBase and RuleBaseFactory |
org.drools.base | |
org.drools.common | |
org.drools.reteoo | |
org.drools.spi |
Uses of FactException in org.drools |
---|
Subclasses of FactException in org.drools | |
---|---|
class |
NoSuchFactHandleException
Indicates an attempt to retract, modify or retrieve a fact object that is no longer present. |
class |
NoSuchFactObjectException
Indicates an attempt to retract, modify or retrieve a fact object that is no longer present. |
Methods in org.drools that throw FactException | |
---|---|
FactHandle |
WorkingMemory.assertObject(Object object)
Assert a fact. |
FactHandle |
WorkingMemory.assertObject(Object object,
boolean dynamic)
Assert a fact registering JavaBean PropertyChangeListeners
on the Object to automatically trigger modifyObject calls
if dynamic is true . |
void |
WorkingMemory.fireAllRules()
Fire all items on the agenda until empty. |
void |
WorkingMemory.fireAllRules(AgendaFilter agendaFilter)
Fire all items on the agenda until empty, using the given AgendaFiler |
void |
WorkingMemory.modifyObject(FactHandle handle,
Object object)
Modify a fact. |
void |
WorkingMemory.retractObject(FactHandle handle)
Retract a fact. |
Uses of FactException in org.drools.base |
---|
Methods in org.drools.base that throw FactException | |
---|---|
void |
DefaultKnowledgeHelper.assertLogicalObject(Object object)
|
void |
DefaultKnowledgeHelper.assertLogicalObject(Object object,
boolean dynamic)
|
void |
DefaultKnowledgeHelper.assertObject(Object object)
|
void |
DefaultKnowledgeHelper.assertObject(Object object,
boolean dynamic)
|
void |
DefaultKnowledgeHelper.modifyObject(FactHandle handle,
Object newObject)
|
void |
DefaultKnowledgeHelper.retractObject(FactHandle handle)
|
Uses of FactException in org.drools.common |
---|
Methods in org.drools.common that throw FactException | |
---|---|
void |
TruthMaintenanceSystem.addLogicalDependency(InternalFactHandle handle,
Activation activation,
PropagationContext context,
Rule rule)
Adds a justification for the FactHandle to the justifiedMap. |
FactHandle |
AbstractWorkingMemory.assertLogicalObject(Object object)
|
FactHandle |
InternalWorkingMemoryActions.assertLogicalObject(Object object,
boolean dynamic)
|
FactHandle |
AbstractWorkingMemory.assertLogicalObject(Object object,
boolean dynamic)
|
void |
InternalRuleBase.assertObject(FactHandle handle,
Object object,
PropagationContext context,
ReteooWorkingMemory workingMemory)
Assert a fact object. |
FactHandle |
AbstractWorkingMemory.assertObject(Object object)
|
FactHandle |
AbstractWorkingMemory.assertObject(Object object,
boolean dynamic)
|
FactHandle |
InternalWorkingMemoryActions.assertObject(Object object,
boolean dynamic,
boolean logical,
Rule rule,
Activation activation)
|
FactHandle |
AbstractWorkingMemory.assertObject(Object object,
boolean dynamic,
boolean logical,
Rule rule,
Activation activation)
|
abstract void |
AbstractWorkingMemory.doAssertObject(InternalFactHandle factHandle,
Object object,
PropagationContext propagationContext)
|
void |
AbstractWorkingMemory.fireAllRules()
|
void |
AbstractWorkingMemory.fireAllRules(AgendaFilter agendaFilter)
|
void |
AbstractWorkingMemory.modifyObject(FactHandle handle,
Object object)
|
void |
InternalWorkingMemoryActions.modifyObject(FactHandle handle,
Object object,
Rule rule,
Activation activation)
|
void |
AbstractWorkingMemory.modifyObject(FactHandle factHandle,
Object object,
Rule rule,
Activation activation)
modify is implemented as half way retract / assert due to the truth maintenance issues. |
void |
TruthMaintenanceSystem.removeLogicalDependencies(Activation activation,
PropagationContext context,
Rule rule)
An Activation is no longer true so it no longer justifies any of the logical facts it logically asserted. |
void |
InternalWorkingMemory.removeLogicalDependencies(Activation activation,
PropagationContext context,
Rule rule)
|
void |
AbstractWorkingMemory.removeLogicalDependencies(Activation activation,
PropagationContext context,
Rule rule)
|
void |
TruthMaintenanceSystem.removeLogicalDependencies(InternalFactHandle handle)
The FactHandle is being removed from the system so remove any logical dependencies between the justified FactHandle and its justifiers. |
void |
AbstractWorkingMemory.retractObject(FactHandle handle)
|
void |
InternalWorkingMemoryActions.retractObject(FactHandle handle,
boolean removeLogical,
boolean updateEqualsMap,
Rule rule,
Activation activation)
|
void |
InternalWorkingMemory.retractObject(FactHandle factHandle,
boolean removeLogical,
boolean updateEqualsMap,
Rule rule,
Activation activation)
|
void |
AbstractWorkingMemory.retractObject(FactHandle factHandle,
boolean removeLogical,
boolean updateEqualsMap,
Rule rule,
Activation activation)
|
void |
InternalRuleBase.retractObject(FactHandle handle,
PropagationContext context,
ReteooWorkingMemory workingMemory)
Retract a fact object. |
Uses of FactException in org.drools.reteoo |
---|
Methods in org.drools.reteoo that throw FactException | |
---|---|
void |
ReteooRuleBase.assertObject(FactHandle handle,
Object object,
PropagationContext context,
ReteooWorkingMemory workingMemory)
Assert a fact object. |
void |
AlphaNode.assertObject(InternalFactHandle handle,
PropagationContext context,
InternalWorkingMemory workingMemory)
|
void |
ReteooWorkingMemory.doAssertObject(InternalFactHandle handle,
Object object,
PropagationContext propagationContext)
|
void |
ReteooRuleBase.retractObject(FactHandle handle,
PropagationContext context,
ReteooWorkingMemory workingMemory)
Retract a fact object. |
Uses of FactException in org.drools.spi |
---|
Methods in org.drools.spi that throw FactException | |
---|---|
void |
KnowledgeHelper.assertLogicalObject(Object object)
|
void |
KnowledgeHelper.assertLogicalObject(Object object,
boolean dynamic)
|
void |
KnowledgeHelper.assertObject(Object object)
Asserts an object, notice that it does not return the FactHandle |
void |
KnowledgeHelper.assertObject(Object object,
boolean dynamic)
Asserts an object specifying that it implement the onPropertyChange listener, notice that it does not return the FactHandle. |
void |
KnowledgeHelper.modifyObject(FactHandle handle,
Object newObject)
|
void |
KnowledgeHelper.retractObject(FactHandle handle)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |