Package org.drools.core.common
Interface InternalWorkingMemoryActions
-
- All Superinterfaces:
org.kie.api.runtime.rule.EntryPoint
,EventSupport
,InternalWorkingMemory
,org.kie.api.event.kiebase.KieBaseEventManager
,WorkingMemory
,WorkingMemoryEntryPoint
,WorkingMemoryEventManager
- All Known Implementing Classes:
StatefulKnowledgeSessionImpl
,WrappedStatefulKnowledgeSessionForRHS
public interface InternalWorkingMemoryActions extends InternalWorkingMemory, WorkingMemoryEntryPoint
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T,K>
Tdon(Activation activation, K core, Class<T> trait, boolean b, org.kie.api.internal.runtime.beliefs.Mode[] modes)
<T,K>
Tdon(Activation activation, K core, Collection<Class<? extends Thing>> traits, boolean b, org.kie.api.internal.runtime.beliefs.Mode[] modes)
org.kie.api.runtime.rule.FactHandle
insert(Object object, boolean dynamic, RuleImpl rule, TerminalNode terminalNode)
org.kie.api.runtime.rule.FactHandle
insertAsync(Object object)
<T,K,X extends TraitableBean>
Thing<K>shed(Activation activation, TraitableBean<K,X> core, Class<T> trait)
void
update(org.kie.api.runtime.rule.FactHandle handle, Object object, BitMask mask, Class<?> modifiedClass, Activation activation)
void
updateTraits(InternalFactHandle h, BitMask mask, Class<?> modifiedClass, Activation activation)
-
Methods inherited from interface org.kie.api.runtime.rule.EntryPoint
delete, delete, getEntryPointId, getFactCount, getFactHandles, getFactHandles, getObjects, getObjects, insert, retract, update, update
-
Methods inherited from interface org.drools.core.common.EventSupport
getAgendaEventListeners, getAgendaEventSupport, getRuleEventSupport, getRuleRuntimeEventListeners, getRuleRuntimeEventSupport
-
Methods inherited from interface org.drools.core.common.InternalWorkingMemory
activate, activationFired, addPropagation, cancelActivation, clearNodeMemory, closeLiveQuery, createKnowledgeHelper, createKnowledgeHelper, deactivate, endBatchExecution, endOperation, flushPropagations, getActionsIterator, getAgenda, getCalendars, getChannels, getEntryPoint, getEntryPoint, getEntryPointNode, getEntryPoints, getFactHandleByIdentity, getFactHandleFactory, getIdentifier, getIdleTime, getInitialFactHandle, getKnowledgeRuntime, getLock, getNextPropagationIdCounter, getNodeMemories, getNodeMemory, getObjectStore, getObjectTypeConfigurationRegistry, getProcessRuntime, getPropagationList, getSessionConfiguration, getStoreForClass, getTimerService, getTimeToNextJob, getTotalFactCount, internalGetProcessRuntime, isSequential, notifyWaitOnRest, onResume, onSuspend, prepareToFireActivation, queueWorkingMemoryAction, removeGlobal, setAgendaEventSupport, setIdentifier, setRuleRuntimeEventSupport, startBatchExecution, startOperation, tryDeactivate, updateEntryPointsCache
-
Methods inherited from interface org.kie.api.event.kiebase.KieBaseEventManager
addEventListener, getKieBaseEventListeners, removeEventListener
-
Methods inherited from interface org.drools.core.WorkingMemory
clearActivationGroup, clearAgenda, clearAgendaGroup, clearRuleFlowGroup, fireAllRules, fireAllRules, fireAllRules, fireAllRules, getEnvironment, getFactHandle, getGlobal, getGlobalResolver, getKnowledgeBase, getObject, getProcessInstance, getProcessInstance, getProcessInstances, getQueryResults, getSessionClock, getWorkingMemoryEntryPoint, getWorkItemManager, halt, iterateFactHandles, iterateFactHandles, iterateObjects, iterateObjects, setAsyncExceptionHandler, setFocus, setGlobal, setGlobalResolver, startProcess, startProcess
-
Methods inherited from interface org.drools.core.WorkingMemoryEntryPoint
delete, delete, dispose, getHandleFactory, getInternalWorkingMemory, getRuleUnit, getTruthMaintenanceSystem, insert, reset, setRuleUnit
-
Methods inherited from interface org.drools.core.WorkingMemoryEventManager
addEventListener, addEventListener, getAgendaEventListeners, getRuleRuntimeEventListeners, removeEventListener, removeEventListener
-
-
-
-
Method Detail
-
update
void update(org.kie.api.runtime.rule.FactHandle handle, Object object, BitMask mask, Class<?> modifiedClass, Activation activation)
- Specified by:
update
in interfaceWorkingMemoryEntryPoint
-
insert
org.kie.api.runtime.rule.FactHandle insert(Object object, boolean dynamic, RuleImpl rule, TerminalNode terminalNode)
-
insertAsync
org.kie.api.runtime.rule.FactHandle insertAsync(Object object)
-
updateTraits
void updateTraits(InternalFactHandle h, BitMask mask, Class<?> modifiedClass, Activation activation)
-
shed
<T,K,X extends TraitableBean> Thing<K> shed(Activation activation, TraitableBean<K,X> core, Class<T> trait)
-
don
<T,K> T don(Activation activation, K core, Collection<Class<? extends Thing>> traits, boolean b, org.kie.api.internal.runtime.beliefs.Mode[] modes)
-
don
<T,K> T don(Activation activation, K core, Class<T> trait, boolean b, org.kie.api.internal.runtime.beliefs.Mode[] modes)
-
-