Package org.drools.core
Interface WorkingMemoryEntryPoint
-
- All Superinterfaces:
org.kie.api.runtime.rule.EntryPoint
- All Known Subinterfaces:
InternalWorkingMemory,InternalWorkingMemoryActions,InternalWorkingMemoryEntryPoint,WorkingMemory
- All Known Implementing Classes:
DisconnectedWorkingMemoryEntryPoint,NamedEntryPoint
public interface WorkingMemoryEntryPoint extends org.kie.api.runtime.rule.EntryPointAn interface for instances that allow handling of entry-point-scoped facts
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voiddelete(org.kie.api.runtime.rule.FactHandle factHandle, RuleImpl rule, TerminalNode terminalNode)voiddelete(org.kie.api.runtime.rule.FactHandle factHandle, RuleImpl rule, TerminalNode terminalNode, org.kie.api.runtime.rule.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.EntryPointIdgetEntryPoint()EntryPointNodegetEntryPointNode()FactHandleFactorygetHandleFactory()RuleBasegetKnowledgeBase()ObjectStoregetObjectStore()ObjectTypeConfigurationRegistrygetObjectTypeConfigurationRegistry()ReteEvaluatorgetReteEvaluator()default ObjectgetRuleUnit()TruthMaintenanceSystemgetTruthMaintenanceSystem()org.kie.api.runtime.rule.FactHandleinsert(Object object, boolean dynamic)Insert a fact registering JavaBeanPropertyChangeListenerson the Object to automatically triggerupdatecalls ifdynamicistrue.voidreset()default voidsetRuleUnit(Object ruleUnit)voidupdate(org.kie.api.runtime.rule.FactHandle handle, Object object, BitMask mask, Class<?> modifiedClass, Activation activation)
-
-
-
Method Detail
-
insert
org.kie.api.runtime.rule.FactHandle insert(Object object, boolean dynamic)
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
RuleBase getKnowledgeBase()
-
delete
void delete(org.kie.api.runtime.rule.FactHandle factHandle, RuleImpl rule, TerminalNode terminalNode)
-
delete
void delete(org.kie.api.runtime.rule.FactHandle factHandle, RuleImpl rule, TerminalNode terminalNode, org.kie.api.runtime.rule.FactHandle.State fhState)
-
update
void update(org.kie.api.runtime.rule.FactHandle handle, Object object, BitMask mask, Class<?> modifiedClass, Activation activation)
-
getTruthMaintenanceSystem
TruthMaintenanceSystem getTruthMaintenanceSystem()
-
getEntryPoint
EntryPointId getEntryPoint()
-
getReteEvaluator
ReteEvaluator getReteEvaluator()
-
reset
void reset()
-
getObjectStore
ObjectStore getObjectStore()
-
getHandleFactory
FactHandleFactory getHandleFactory()
-
getEntryPointNode
EntryPointNode getEntryPointNode()
-
getRuleUnit
default Object getRuleUnit()
-
setRuleUnit
default void setRuleUnit(Object ruleUnit)
-
-