Package org.drools.core
Interface WorkingMemoryEntryPoint
-
- All Superinterfaces:
org.kie.api.runtime.rule.EntryPoint
- All Known Subinterfaces:
InternalWorkingMemory
,InternalWorkingMemoryActions
,InternalWorkingMemoryEntryPoint
,WorkingMemory
public interface WorkingMemoryEntryPoint extends org.kie.api.runtime.rule.EntryPoint
An 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 void
delete(org.kie.api.runtime.rule.FactHandle factHandle, org.drools.base.definitions.rule.impl.RuleImpl rule, TerminalNode terminalNode)
void
delete(org.kie.api.runtime.rule.FactHandle factHandle, org.drools.base.definitions.rule.impl.RuleImpl rule, TerminalNode terminalNode, org.kie.api.runtime.rule.FactHandle.State fhState)
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.org.drools.base.rule.EntryPointId
getEntryPoint()
EntryPointNode
getEntryPointNode()
FactHandleFactory
getHandleFactory()
InternalRuleBase
getKnowledgeBase()
ObjectStore
getObjectStore()
ObjectTypeConfigurationRegistry
getObjectTypeConfigurationRegistry()
ReteEvaluator
getReteEvaluator()
default java.lang.Object
getRuleUnit()
org.kie.api.runtime.rule.FactHandle
insert(java.lang.Object object, boolean dynamic)
Insert a fact registering JavaBeanPropertyChangeListeners
on the Object to automatically triggerupdate
calls ifdynamic
istrue
.void
reset()
default void
setRuleUnit(java.lang.Object ruleUnit)
void
update(org.kie.api.runtime.rule.FactHandle handle, java.lang.Object object, org.drools.core.util.bitmask.BitMask mask, java.lang.Class<?> modifiedClass, InternalMatch internalMatch)
-
-
-
Method Detail
-
insert
org.kie.api.runtime.rule.FactHandle insert(java.lang.Object object, boolean dynamic)
Insert a fact registering JavaBeanPropertyChangeListeners
on the Object to automatically triggerupdate
calls ifdynamic
istrue
.- Parameters:
object
- The fact object.dynamic
- true if Drools should add JavaBeanPropertyChangeListeners
to 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
void delete(org.kie.api.runtime.rule.FactHandle factHandle, org.drools.base.definitions.rule.impl.RuleImpl rule, TerminalNode terminalNode)
-
delete
void delete(org.kie.api.runtime.rule.FactHandle factHandle, org.drools.base.definitions.rule.impl.RuleImpl rule, TerminalNode terminalNode, org.kie.api.runtime.rule.FactHandle.State fhState)
-
update
void update(org.kie.api.runtime.rule.FactHandle handle, java.lang.Object object, org.drools.core.util.bitmask.BitMask mask, java.lang.Class<?> modifiedClass, InternalMatch internalMatch)
-
getEntryPoint
org.drools.base.rule.EntryPointId getEntryPoint()
-
getReteEvaluator
ReteEvaluator getReteEvaluator()
-
reset
void reset()
-
getObjectStore
ObjectStore getObjectStore()
-
getHandleFactory
FactHandleFactory getHandleFactory()
-
getEntryPointNode
EntryPointNode getEntryPointNode()
-
getRuleUnit
default java.lang.Object getRuleUnit()
-
setRuleUnit
default void setRuleUnit(java.lang.Object ruleUnit)
-
-