Package org.drools.core
Interface WorkingMemoryEntryPoint
- All Superinterfaces:
EntryPoint
- All Known Subinterfaces:
InternalWorkingMemory,InternalWorkingMemoryActions,InternalWorkingMemoryEntryPoint,WorkingMemory
An interface for instances that allow handling of entry-point-scoped
facts
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(FactHandle factHandle, RuleImpl rule, TerminalNode terminalNode) voiddelete(FactHandle factHandle, RuleImpl rule, TerminalNode terminalNode, FactHandle.State fhState) voiddispose()Internal method called by the engine when the session is being disposed, so that the entry point can proceed with the necessary clean ups.default ObjectInsert a fact registering JavaBeanPropertyChangeListenerson the Object to automatically triggerupdatecalls ifdynamicistrue.voidreset()default voidsetRuleUnit(Object ruleUnit) voidupdate(FactHandle handle, Object object, org.drools.util.bitmask.BitMask mask, Class<?> modifiedClass, InternalMatch internalMatch) Methods inherited from interface org.kie.api.runtime.rule.EntryPoint
delete, delete, getEntryPointId, getFactCount, getFactHandle, getFactHandles, getFactHandles, getInstancesOf, getObject, getObjects, getObjects, getSingleInstanceOf, insert, retract, update, update
-
Method Details
-
insert
Insert a fact registering JavaBeanPropertyChangeListenerson the Object to automatically triggerupdatecalls ifdynamicistrue.- Parameters:
object- The fact object.dynamic- true if Drools should add JavaBeanPropertyChangeListenersto the object.- Returns:
- The new fact-handle associated with the object.
-
dispose
void dispose()Internal method called by the engine when the session is being disposed, so that the entry point can proceed with the necessary clean ups. -
getObjectTypeConfigurationRegistry
ObjectTypeConfigurationRegistry getObjectTypeConfigurationRegistry() -
getKnowledgeBase
InternalRuleBase getKnowledgeBase() -
delete
-
delete
void delete(FactHandle factHandle, RuleImpl rule, TerminalNode terminalNode, FactHandle.State fhState) -
update
void update(FactHandle handle, Object object, org.drools.util.bitmask.BitMask mask, Class<?> modifiedClass, InternalMatch internalMatch) -
getEntryPoint
EntryPointId getEntryPoint() -
getReteEvaluator
ReteEvaluator getReteEvaluator() -
reset
void reset() -
getObjectStore
ObjectStore getObjectStore() -
getHandleFactory
FactHandleFactory getHandleFactory() -
getEntryPointNode
EntryPointNode getEntryPointNode() -
getRuleUnit
-
setRuleUnit
-