Package org.drools.core.base
Class StatefulKnowledgeSessionForRHS
- java.lang.Object
-
- org.drools.core.base.StatefulKnowledgeSessionForRHS
-
- All Implemented Interfaces:
Externalizable,Serializable,EventSupport,InternalWorkingMemory,InternalWorkingMemoryActions,ReteEvaluator,WorkingMemory,WorkingMemoryEntryPoint,WorkingMemoryEventManager,org.kie.api.event.kiebase.KieBaseEventManager,org.kie.api.event.KieRuntimeEventManager,org.kie.api.event.process.ProcessEventManager,org.kie.api.event.rule.RuleRuntimeEventManager,org.kie.api.runtime.CommandExecutor,org.kie.api.runtime.KieRuntime,org.kie.api.runtime.KieSession,org.kie.api.runtime.process.ProcessRuntime,org.kie.api.runtime.process.StatefulProcessSession,org.kie.api.runtime.rule.EntryPoint,org.kie.api.runtime.rule.RuleRuntime,org.kie.api.runtime.rule.StatefulRuleSession
public class StatefulKnowledgeSessionForRHS extends Object implements org.kie.api.runtime.KieSession, InternalWorkingMemoryActions, EventSupport, org.kie.api.runtime.KieRuntime, Externalizable
Wrapper of ReteEvaluator so to intercept call from RHS internal Drools execution and proxy or delegate method call as appropriate.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StatefulKnowledgeSessionImpldelegate
-
Constructor Summary
Constructors Constructor Description StatefulKnowledgeSessionForRHS()This should be used just by deserialization.StatefulKnowledgeSessionForRHS(StatefulKnowledgeSessionImpl reteEvaluator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidabortProcessInstance(long id)voidactivate()voidactivationFired()This method is called by the agenda right after an activation was fired to allow the working memory to resume any activities blocked during activation firing.voidaddEventListener(org.kie.api.event.kiebase.KieBaseEventListener listener)voidaddEventListener(org.kie.api.event.process.ProcessEventListener listener)voidaddEventListener(org.kie.api.event.rule.AgendaEventListener listener)Add an event listener.voidaddEventListener(org.kie.api.event.rule.RuleRuntimeEventListener listener)Add an event listener.voidaddEventListener(org.kie.internal.event.rule.RuleEventListener listener)voidaddPropagation(PropagationEntry propagationEntry, boolean register)voidcancelActivation(Activation activation, boolean declarativeAgenda)voidclearActivationGroup(String group)Clears the Activation Group, cancellings all its ActivationsvoidclearAgenda()Clear the Agenda.voidclearAgendaGroup(String group)Clear the Agenda Group, cancelling all its Activations.voidclearNodeMemory(MemoryFactory node)voidclearRuleFlowGroup(String group)Clears the RuleFlow group, cancelling all its ActivationsvoidcloseLiveQuery(InternalFactHandle factHandle)org.kie.api.runtime.process.ProcessInstancecreateProcessInstance(String processId, Map<String,Object> parameters)org.kie.api.runtime.process.ProcessInstancecreateProcessInstance(String processId, org.kie.internal.process.CorrelationKey correlationKey, Map<String,Object> parameters)<T> TcreateRuntimeService(Class<T> cls)voiddeactivate()voiddelete(org.kie.api.runtime.rule.FactHandle handle)voiddelete(org.kie.api.runtime.rule.FactHandle handle, RuleImpl rule, TerminalNode terminalNode)voiddelete(org.kie.api.runtime.rule.FactHandle factHandle, RuleImpl rule, TerminalNode terminalNode, org.kie.api.runtime.rule.FactHandle.State fhState)voiddelete(org.kie.api.runtime.rule.FactHandle handle, org.kie.api.runtime.rule.FactHandle.State fhState)voiddestroy()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.<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)voidendBatchExecution()voidendOperation()This method must be called after finishing any work in the engine, like inserting a new fact or firing a new rule.booleanequals(Object obj)<T> Texecute(org.kie.api.command.Command<T> command)intfireAllRules()Fire all items on the agenda until empty.intfireAllRules(int fireLimit)Fire all items on the agenda until empty or at most 'fireLimit' rules have firedintfireAllRules(org.kie.api.runtime.rule.AgendaFilter agendaFilter)Fire all items on the agenda until empty, using the given AgendaFilerintfireAllRules(org.kie.api.runtime.rule.AgendaFilter agendaFilter, int fireLimit)Fire all items on the agenda using the given AgendaFiler until empty or at most 'fireLimit' rules have firedvoidfireUntilHalt()voidfireUntilHalt(org.kie.api.runtime.rule.AgendaFilter agendaFilter)voidflushPropagations()Iterator<? extends PropagationEntry>getActionsIterator()ActivationsManagergetActivationsManager()InternalAgendagetAgenda()Returns the Agenda for this WorkingMemory.Collection<org.kie.api.event.rule.AgendaEventListener>getAgendaEventListeners()Returns all event listeners.AgendaEventSupportgetAgendaEventSupport()org.kie.api.runtime.CalendarsgetCalendars()Map<String,org.kie.api.runtime.Channel>getChannels()Returns a map of channel Id->Channel of all channels in this working memoryEntryPointIdgetEntryPoint()WorkingMemoryEntryPointgetEntryPoint(String name)StringgetEntryPointId()EntryPointNodegetEntryPointNode()Collection<? extends org.kie.api.runtime.rule.EntryPoint>getEntryPoints()org.kie.api.runtime.EnvironmentgetEnvironment()longgetFactCount()InternalFactHandlegetFactHandle(Object object)FactHandleFactorygetFactHandleFactory()<T extends org.kie.api.runtime.rule.FactHandle>
Collection<T>getFactHandles()<T extends org.kie.api.runtime.rule.FactHandle>
Collection<T>getFactHandles(org.kie.api.runtime.ObjectFilter filter)ObjectgetGlobal(String identifier)GlobalResolvergetGlobalResolver()org.kie.api.runtime.GlobalsgetGlobals()FactHandleFactorygetHandleFactory()intgetId()longgetIdentifier()longgetIdleTime()Returns the number of time units (usually ms) that the engine is idle according to the session clock or -1 if it is not idle.InternalFactHandlegetInitialFactHandle()org.kie.api.KieBasegetKieBase()Collection<org.kie.api.event.kiebase.KieBaseEventListener>getKieBaseEventListeners()<T> TgetKieRuntime(Class<T> cls)InternalKnowledgeBasegetKnowledgeBase()InternalKnowledgeRuntimegetKnowledgeRuntime()longgetLastIdleTimestamp()LockgetLock()org.kie.api.logger.KieRuntimeLoggergetLogger()longgetNextPropagationIdCounter()NodeMemoriesgetNodeMemories()<T extends Memory>
TgetNodeMemory(MemoryFactory<T> node)ObjectgetObject(org.kie.api.runtime.rule.FactHandle handle)Collection<? extends Object>getObjects()Collection<? extends Object>getObjects(org.kie.api.runtime.ObjectFilter filter)ObjectStoregetObjectStore()ObjectTypeConfigurationRegistrygetObjectTypeConfigurationRegistry()Collection<org.kie.api.event.process.ProcessEventListener>getProcessEventListeners()org.kie.api.runtime.process.ProcessInstancegetProcessInstance(long id)Returns the process instance with the given id.org.kie.api.runtime.process.ProcessInstancegetProcessInstance(long id, boolean readOnly)org.kie.api.runtime.process.ProcessInstancegetProcessInstance(Object id)org.kie.api.runtime.process.ProcessInstancegetProcessInstance(org.kie.internal.process.CorrelationKey correlationKey)Collection<org.kie.api.runtime.process.ProcessInstance>getProcessInstances()Returns the list of process instances of this working memory.InternalProcessRuntimegetProcessRuntime()org.kie.api.runtime.rule.QueryResultsgetQueryResults(String queryName, Object... arguments)Retrieve the QueryResults of the specified query and argumentsReteEvaluatorgetReteEvaluator()RuleEventListenerSupportgetRuleEventSupport()Collection<org.kie.api.event.rule.RuleRuntimeEventListener>getRuleRuntimeEventListeners()Returns all event listeners.RuleRuntimeEventSupportgetRuleRuntimeEventSupport()org.kie.api.time.SessionClockgetSessionClock()SessionConfigurationgetSessionConfiguration()TimerServicegetTimerService()longgetTimeToNextJob()Returns the number of time units (usually ms) to the next scheduled joblonggetTotalFactCount()Returns the total number of facts in the working memory, i.e., counting all facts from all entry points.TruthMaintenanceSystemgetTruthMaintenanceSystem()org.kie.api.runtime.process.WorkItemManagergetWorkItemManager()voidhalt()Stops rule firing after the current rule finishes executinginthashCode()org.kie.api.runtime.rule.FactHandleinsert(Object object)org.kie.api.runtime.rule.FactHandleinsert(Object object, boolean dynamic)Insert a fact registering JavaBeanPropertyChangeListenerson the Object to automatically triggerupdatecalls ifdynamicistrue.org.kie.api.runtime.rule.FactHandleinsert(Object object, boolean dynamic, RuleImpl rule, TerminalNode terminalNode)org.kie.api.runtime.rule.FactHandleinsertAsync(Object object)InternalProcessRuntimeinternalGetProcessRuntime()booleanisAlive()booleanisSequential()Iterator<InternalFactHandle>iterateFactHandles()Returns an Iterator for the FactHandles in the Working Memory.Iterator<InternalFactHandle>iterateFactHandles(org.kie.api.runtime.ObjectFilter filter)Returns an Iterator for the Objects in the Working Memory.Iterator<?>iterateObjects()Returns an Iterator for the Objects in the Working Memory.Iterator<?>iterateObjects(org.kie.api.runtime.ObjectFilter filter)Returns an Iterator for the Objects in the Working Memory.voidnotifyWaitOnRest()org.kie.api.runtime.rule.LiveQueryopenLiveQuery(String query, Object[] arguments, org.kie.api.runtime.rule.ViewChangedEventListener listener)voidprepareToFireActivation()This method is called by the agenda before firing a new activation to ensure the working memory is in a safe state to fire the activation.voidreadExternal(ObjectInput in)voidregisterChannel(String name, org.kie.api.runtime.Channel channel)voidremoveEventListener(org.kie.api.event.kiebase.KieBaseEventListener listener)voidremoveEventListener(org.kie.api.event.process.ProcessEventListener listener)voidremoveEventListener(org.kie.api.event.rule.AgendaEventListener listener)Remove an event listener.voidremoveEventListener(org.kie.api.event.rule.RuleRuntimeEventListener listener)Remove an event listener.voidremoveEventListener(org.kie.internal.event.rule.RuleEventListener listener)voidremoveGlobal(String identifier)voidreset()voidreset(int handleId, long handleCounter, long propagationCounter)voidretract(org.kie.api.runtime.rule.FactHandle handle)voidsetAgendaEventSupport(AgendaEventSupport agendaEventSupport)voidsetAsyncExceptionHandler(AsyncExceptionHandler handler)Sets the AsyncExceptionHandler to handle exceptions thrown by the Agenda Scheduler used for duration rules.voidsetEndOperationListener(EndOperationListener listener)voidsetFocus(String focus)Set the focus to the specified AgendaGroupvoidsetGlobal(String identifier, Object value)Set a specific instance as a global in this working memory.voidsetGlobalResolver(GlobalResolver globalResolver)Sets the GlobalResolver instance to be used when resolving globals, replaces the current GlobalResolver.voidsetIdentifier(long id)voidsetLogger(org.kie.api.logger.KieRuntimeLogger logger)voidsetRuleRuntimeEventSupport(RuleRuntimeEventSupport workingMemoryEventSupport)<T,K,X extends TraitableBean>
Thing<K>shed(Activation activation, TraitableBean<K,X> core, Class<T> trait)voidsignalEvent(String type, Object event)voidsignalEvent(String type, Object event, long processInstanceId)voidstartBatchExecution()voidstartOperation()This method must be called before starting any new work in the engine, like inserting a new fact or firing a new rule.org.kie.api.runtime.process.ProcessInstancestartProcess(String processId)Starts a new process instance for the process with the given id.org.kie.api.runtime.process.ProcessInstancestartProcess(String processId, Map<String,Object> parameters)Starts a new process instance for the process with the given id.org.kie.api.runtime.process.ProcessInstancestartProcess(String processId, Map<String,Object> parameters, org.kie.api.runtime.rule.AgendaFilter agendaFilter)org.kie.api.runtime.process.ProcessInstancestartProcess(String processId, org.kie.api.runtime.rule.AgendaFilter agendaFilter)org.kie.api.runtime.process.ProcessInstancestartProcess(String processId, org.kie.internal.process.CorrelationKey correlationKey, Map<String,Object> parameters)org.kie.api.runtime.process.ProcessInstancestartProcessFromNodeIds(String processId, Map<String,Object> params, String... nodeIds)org.kie.api.runtime.process.ProcessInstancestartProcessInstance(long processInstanceId)voidsubmit(org.kie.api.runtime.KieSession.AtomicAction action)StringtoString()booleantryDeactivate()voidunregisterChannel(String name)voidupdate(org.kie.api.runtime.rule.FactHandle factHandle)voidupdate(org.kie.api.runtime.rule.FactHandle handle, Object object)voidupdate(org.kie.api.runtime.rule.FactHandle handle, Object object, String... modifiedProperties)voidupdate(org.kie.api.runtime.rule.FactHandle handle, Object object, BitMask mask, Class<?> modifiedClass, Activation activation)voidupdateEntryPointsCache()voidupdateTraits(InternalFactHandle h, BitMask mask, Class<?> modifiedClass, Activation activation)voidwriteExternal(ObjectOutput out)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.drools.core.common.InternalWorkingMemory
getStoreForClass, isThreadSafe
-
Methods inherited from interface org.drools.core.common.ReteEvaluator
addPropagation, createFactHandle, createKnowledgeHelper, createKnowledgeHelper, getDefaultEntryPoint, getDefaultEntryPointId
-
Methods inherited from interface org.drools.core.WorkingMemoryEntryPoint
getRuleUnit, setRuleUnit
-
-
-
-
Field Detail
-
delegate
protected StatefulKnowledgeSessionImpl delegate
-
-
Constructor Detail
-
StatefulKnowledgeSessionForRHS
public StatefulKnowledgeSessionForRHS(StatefulKnowledgeSessionImpl reteEvaluator)
-
StatefulKnowledgeSessionForRHS
public StatefulKnowledgeSessionForRHS()
This should be used just by deserialization. Please avoid using this empty constructor in your code.
-
-
Method Detail
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
getQueryResults
public org.kie.api.runtime.rule.QueryResults getQueryResults(String queryName, Object... arguments)
Description copied from interface:WorkingMemoryRetrieve the QueryResults of the specified query and arguments- Specified by:
getQueryResultsin interfaceReteEvaluator- Specified by:
getQueryResultsin interfaceorg.kie.api.runtime.rule.RuleRuntime- Specified by:
getQueryResultsin interfaceWorkingMemory- Parameters:
queryName- The name of the query.arguments- The arguments used for the query- Returns:
- The QueryResults of the specified query. If no results match the query it is empty.
-
getLogger
public org.kie.api.logger.KieRuntimeLogger getLogger()
- Specified by:
getLoggerin interfaceorg.kie.api.event.KieRuntimeEventManager
-
setLogger
public void setLogger(org.kie.api.logger.KieRuntimeLogger logger)
-
getKieRuntime
public <T> T getKieRuntime(Class<T> cls)
- Specified by:
getKieRuntimein interfaceorg.kie.api.runtime.KieSession
-
createRuntimeService
public <T> T createRuntimeService(Class<T> cls)
-
addEventListener
public void addEventListener(org.kie.api.event.process.ProcessEventListener listener)
- Specified by:
addEventListenerin interfaceorg.kie.api.event.process.ProcessEventManager
-
getProcessEventListeners
public Collection<org.kie.api.event.process.ProcessEventListener> getProcessEventListeners()
- Specified by:
getProcessEventListenersin interfaceorg.kie.api.event.process.ProcessEventManager
-
removeEventListener
public void removeEventListener(org.kie.api.event.process.ProcessEventListener listener)
- Specified by:
removeEventListenerin interfaceorg.kie.api.event.process.ProcessEventManager
-
getKieBase
public org.kie.api.KieBase getKieBase()
- Specified by:
getKieBasein interfaceorg.kie.api.runtime.KieRuntime
-
isAlive
public boolean isAlive()
-
destroy
public void destroy()
- Specified by:
destroyin interfaceorg.kie.api.runtime.KieSession
-
update
public void update(org.kie.api.runtime.rule.FactHandle factHandle)
-
abortProcessInstance
public void abortProcessInstance(long id)
- Specified by:
abortProcessInstancein interfaceorg.kie.api.runtime.process.ProcessRuntime
-
signalEvent
public void signalEvent(String type, Object event)
- Specified by:
signalEventin interfaceorg.kie.api.runtime.process.ProcessRuntime
-
signalEvent
public void signalEvent(String type, Object event, long processInstanceId)
- Specified by:
signalEventin interfaceorg.kie.api.runtime.process.ProcessRuntime
-
getGlobals
public org.kie.api.runtime.Globals getGlobals()
- Specified by:
getGlobalsin interfaceorg.kie.api.runtime.KieRuntime
-
execute
public <T> T execute(org.kie.api.command.Command<T> command)
- Specified by:
executein interfaceorg.kie.api.runtime.CommandExecutor
-
openLiveQuery
public org.kie.api.runtime.rule.LiveQuery openLiveQuery(String query, Object[] arguments, org.kie.api.runtime.rule.ViewChangedEventListener listener)
- Specified by:
openLiveQueryin interfaceorg.kie.api.runtime.rule.RuleRuntime
-
reset
public void reset(int handleId, long handleCounter, long propagationCounter)
-
addEventListener
public void addEventListener(org.kie.internal.event.rule.RuleEventListener listener)
-
removeEventListener
public void removeEventListener(org.kie.internal.event.rule.RuleEventListener listener)
-
getId
public int getId()
- Specified by:
getIdin interfaceorg.kie.api.runtime.KieSession
-
fireUntilHalt
public void fireUntilHalt()
- Specified by:
fireUntilHaltin interfaceorg.kie.api.runtime.rule.StatefulRuleSession
-
fireUntilHalt
public void fireUntilHalt(org.kie.api.runtime.rule.AgendaFilter agendaFilter)
- Specified by:
fireUntilHaltin interfaceorg.kie.api.runtime.rule.StatefulRuleSession
-
getRuleRuntimeEventSupport
public RuleRuntimeEventSupport getRuleRuntimeEventSupport()
- Specified by:
getRuleRuntimeEventSupportin interfaceEventSupport- Specified by:
getRuleRuntimeEventSupportin interfaceReteEvaluator
-
getRuleEventSupport
public RuleEventListenerSupport getRuleEventSupport()
- Specified by:
getRuleEventSupportin interfaceEventSupport- Specified by:
getRuleEventSupportin interfaceReteEvaluator
-
getAgendaEventSupport
public AgendaEventSupport getAgendaEventSupport()
- Specified by:
getAgendaEventSupportin interfaceEventSupport
-
createProcessInstance
public org.kie.api.runtime.process.ProcessInstance createProcessInstance(String processId, Map<String,Object> parameters)
- Specified by:
createProcessInstancein interfaceorg.kie.api.runtime.process.ProcessRuntime
-
startProcessInstance
public org.kie.api.runtime.process.ProcessInstance startProcessInstance(long processInstanceId)
- Specified by:
startProcessInstancein interfaceorg.kie.api.runtime.process.ProcessRuntime
-
createProcessInstance
public org.kie.api.runtime.process.ProcessInstance createProcessInstance(String processId, org.kie.internal.process.CorrelationKey correlationKey, Map<String,Object> parameters)
-
getProcessInstance
public org.kie.api.runtime.process.ProcessInstance getProcessInstance(org.kie.internal.process.CorrelationKey correlationKey)
-
getLastIdleTimestamp
public long getLastIdleTimestamp()
-
startProcess
public org.kie.api.runtime.process.ProcessInstance startProcess(String processId, org.kie.internal.process.CorrelationKey correlationKey, Map<String,Object> parameters)
-
registerChannel
public void registerChannel(String name, org.kie.api.runtime.Channel channel)
- Specified by:
registerChannelin interfaceorg.kie.api.runtime.KieRuntime
-
unregisterChannel
public void unregisterChannel(String name)
- Specified by:
unregisterChannelin interfaceorg.kie.api.runtime.KieRuntime
-
setEndOperationListener
public void setEndOperationListener(EndOperationListener listener)
-
addEventListener
public void addEventListener(org.kie.api.event.kiebase.KieBaseEventListener listener)
- Specified by:
addEventListenerin interfaceorg.kie.api.event.kiebase.KieBaseEventManager
-
insert
public org.kie.api.runtime.rule.FactHandle insert(Object object)
- Specified by:
insertin interfaceorg.kie.api.runtime.rule.EntryPoint- Specified by:
insertin interfaceReteEvaluator
-
submit
public void submit(org.kie.api.runtime.KieSession.AtomicAction action)
- Specified by:
submitin interfaceorg.kie.api.runtime.KieSession
-
removeEventListener
public void removeEventListener(org.kie.api.event.kiebase.KieBaseEventListener listener)
- Specified by:
removeEventListenerin interfaceorg.kie.api.event.kiebase.KieBaseEventManager
-
addEventListener
public void addEventListener(org.kie.api.event.rule.RuleRuntimeEventListener listener)
Description copied from interface:WorkingMemoryEventManagerAdd an event listener.- Specified by:
addEventListenerin interfaceorg.kie.api.event.rule.RuleRuntimeEventManager- Specified by:
addEventListenerin interfaceWorkingMemoryEventManager- Parameters:
listener- The listener to add.
-
getKieBaseEventListeners
public Collection<org.kie.api.event.kiebase.KieBaseEventListener> getKieBaseEventListeners()
- Specified by:
getKieBaseEventListenersin interfaceorg.kie.api.event.kiebase.KieBaseEventManager
-
insert
public org.kie.api.runtime.rule.FactHandle insert(Object object, boolean dynamic)
Description copied from interface:WorkingMemoryEntryPointInsert a fact registering JavaBeanPropertyChangeListenerson the Object to automatically triggerupdatecalls ifdynamicistrue.- Specified by:
insertin interfaceWorkingMemoryEntryPoint- Parameters:
object- The fact object.dynamic- true if Drools should add JavaBeanPropertyChangeListenersto the object.- Returns:
- The new fact-handle associated with the object.
-
update
public void update(org.kie.api.runtime.rule.FactHandle handle, Object object, BitMask mask, Class<?> modifiedClass, Activation activation)- Specified by:
updatein interfaceInternalWorkingMemoryActions- Specified by:
updatein interfaceWorkingMemoryEntryPoint
-
removeEventListener
public void removeEventListener(org.kie.api.event.rule.RuleRuntimeEventListener listener)
Description copied from interface:WorkingMemoryEventManagerRemove an event listener.- Specified by:
removeEventListenerin interfaceorg.kie.api.event.rule.RuleRuntimeEventManager- Specified by:
removeEventListenerin interfaceWorkingMemoryEventManager- Parameters:
listener- The listener to remove.
-
delete
public void delete(org.kie.api.runtime.rule.FactHandle factHandle, RuleImpl rule, TerminalNode terminalNode, org.kie.api.runtime.rule.FactHandle.State fhState)- Specified by:
deletein interfaceWorkingMemoryEntryPoint
-
delete
public void delete(org.kie.api.runtime.rule.FactHandle handle, RuleImpl rule, TerminalNode terminalNode)- Specified by:
deletein interfaceWorkingMemoryEntryPoint
-
insert
public org.kie.api.runtime.rule.FactHandle insert(Object object, boolean dynamic, RuleImpl rule, TerminalNode terminalNode)
- Specified by:
insertin interfaceInternalWorkingMemoryActions
-
insertAsync
public org.kie.api.runtime.rule.FactHandle insertAsync(Object object)
- Specified by:
insertAsyncin interfaceInternalWorkingMemoryActions
-
getRuleRuntimeEventListeners
public Collection<org.kie.api.event.rule.RuleRuntimeEventListener> getRuleRuntimeEventListeners()
Description copied from interface:WorkingMemoryEventManagerReturns all event listeners.- Specified by:
getRuleRuntimeEventListenersin interfaceEventSupport- Specified by:
getRuleRuntimeEventListenersin interfaceorg.kie.api.event.rule.RuleRuntimeEventManager- Specified by:
getRuleRuntimeEventListenersin interfaceWorkingMemoryEventManager- Returns:
- listeners The listeners.
-
addEventListener
public void addEventListener(org.kie.api.event.rule.AgendaEventListener listener)
Description copied from interface:WorkingMemoryEventManagerAdd an event listener.- Specified by:
addEventListenerin interfaceorg.kie.api.event.rule.RuleRuntimeEventManager- Specified by:
addEventListenerin interfaceWorkingMemoryEventManager- Parameters:
listener- The listener to add.
-
getEntryPointId
public String getEntryPointId()
- Specified by:
getEntryPointIdin interfaceorg.kie.api.runtime.rule.EntryPoint
-
retract
public void retract(org.kie.api.runtime.rule.FactHandle handle)
- Specified by:
retractin interfaceorg.kie.api.runtime.rule.EntryPoint
-
getTruthMaintenanceSystem
public TruthMaintenanceSystem getTruthMaintenanceSystem()
- Specified by:
getTruthMaintenanceSystemin interfaceWorkingMemoryEntryPoint
-
getAgenda
public InternalAgenda getAgenda()
Description copied from interface:WorkingMemoryReturns the Agenda for this WorkingMemory. While the WorkingMemory interface is considered public, the Agenda interface is more subject to change.- Specified by:
getAgendain interfaceInternalWorkingMemory- Specified by:
getAgendain interfaceorg.kie.api.runtime.rule.RuleRuntime- Specified by:
getAgendain interfaceWorkingMemory- Returns:
- the Agenda
-
getIdentifier
public long getIdentifier()
- Specified by:
getIdentifierin interfaceInternalWorkingMemory- Specified by:
getIdentifierin interfaceorg.kie.api.runtime.KieSession
-
setIdentifier
public void setIdentifier(long id)
- Specified by:
setIdentifierin interfaceInternalWorkingMemory
-
setRuleRuntimeEventSupport
public void setRuleRuntimeEventSupport(RuleRuntimeEventSupport workingMemoryEventSupport)
- Specified by:
setRuleRuntimeEventSupportin interfaceInternalWorkingMemory
-
removeEventListener
public void removeEventListener(org.kie.api.event.rule.AgendaEventListener listener)
Description copied from interface:WorkingMemoryEventManagerRemove an event listener.- Specified by:
removeEventListenerin interfaceorg.kie.api.event.rule.RuleRuntimeEventManager- Specified by:
removeEventListenerin interfaceWorkingMemoryEventManager- Parameters:
listener- The listener to remove.
-
updateTraits
public void updateTraits(InternalFactHandle h, BitMask mask, Class<?> modifiedClass, Activation activation)
- Specified by:
updateTraitsin interfaceInternalWorkingMemoryActions
-
update
public void update(org.kie.api.runtime.rule.FactHandle handle, Object object)- Specified by:
updatein interfaceorg.kie.api.runtime.rule.EntryPoint
-
update
public void update(org.kie.api.runtime.rule.FactHandle handle, Object object, String... modifiedProperties)- Specified by:
updatein interfaceorg.kie.api.runtime.rule.EntryPoint
-
setAgendaEventSupport
public void setAgendaEventSupport(AgendaEventSupport agendaEventSupport)
- Specified by:
setAgendaEventSupportin interfaceInternalWorkingMemory
-
setGlobal
public void setGlobal(String identifier, Object value)
Description copied from interface:WorkingMemorySet a specific instance as a global in this working memory. Null values will return doing nothing. The global identifier and its type must be declared in the drl.- Specified by:
setGlobalin interfaceorg.kie.api.runtime.KieRuntime- Specified by:
setGlobalin interfaceReteEvaluator- Specified by:
setGlobalin interfaceWorkingMemory- Parameters:
identifier- the identifier under which to populate the datavalue- the global value, cannot be null
-
reset
public void reset()
- Specified by:
resetin interfaceWorkingMemoryEntryPoint
-
shed
public <T,K,X extends TraitableBean> Thing<K> shed(Activation activation, TraitableBean<K,X> core, Class<T> trait)
- Specified by:
shedin interfaceInternalWorkingMemoryActions
-
getNodeMemory
public <T extends Memory> T getNodeMemory(MemoryFactory<T> node)
- Specified by:
getNodeMemoryin interfaceReteEvaluator
-
getHandleFactory
public FactHandleFactory getHandleFactory()
- Specified by:
getHandleFactoryin interfaceWorkingMemoryEntryPoint
-
getAgendaEventListeners
public Collection<org.kie.api.event.rule.AgendaEventListener> getAgendaEventListeners()
Description copied from interface:WorkingMemoryEventManagerReturns all event listeners.- Specified by:
getAgendaEventListenersin interfaceEventSupport- Specified by:
getAgendaEventListenersin interfaceorg.kie.api.event.rule.RuleRuntimeEventManager- Specified by:
getAgendaEventListenersin interfaceWorkingMemoryEventManager- Returns:
- listeners The listeners.
-
clearNodeMemory
public void clearNodeMemory(MemoryFactory node)
- Specified by:
clearNodeMemoryin interfaceInternalWorkingMemory
-
don
public <T,K> T don(Activation activation, K core, Collection<Class<? extends Thing>> traits, boolean b, org.kie.api.internal.runtime.beliefs.Mode[] modes)
- Specified by:
donin interfaceInternalWorkingMemoryActions
-
getNodeMemories
public NodeMemories getNodeMemories()
- Specified by:
getNodeMemoriesin interfaceInternalWorkingMemory
-
getNextPropagationIdCounter
public long getNextPropagationIdCounter()
- Specified by:
getNextPropagationIdCounterin interfaceReteEvaluator
-
getObjectStore
public ObjectStore getObjectStore()
- Specified by:
getObjectStorein interfaceWorkingMemoryEntryPoint
-
don
public <T,K> T don(Activation activation, K core, Class<T> trait, boolean b, org.kie.api.internal.runtime.beliefs.Mode[] modes)
- Specified by:
donin interfaceInternalWorkingMemoryActions
-
delete
public void delete(org.kie.api.runtime.rule.FactHandle handle)
- Specified by:
deletein interfaceorg.kie.api.runtime.rule.EntryPoint
-
dispose
public void dispose()
Description copied from interface:WorkingMemoryEntryPointInternal method called by the engine when the session is being disposed, so that the entry point can proceed with the necessary clean ups.- Specified by:
disposein interfaceorg.kie.api.runtime.KieSession- Specified by:
disposein interfaceReteEvaluator- Specified by:
disposein interfaceWorkingMemoryEntryPoint
-
getFactHandleFactory
public FactHandleFactory getFactHandleFactory()
- Specified by:
getFactHandleFactoryin interfaceReteEvaluator
-
getGlobal
public Object getGlobal(String identifier)
- Specified by:
getGlobalin interfaceorg.kie.api.runtime.KieRuntime- Specified by:
getGlobalin interfaceReteEvaluator
-
getEntryPoint
public EntryPointId getEntryPoint()
- Specified by:
getEntryPointin interfaceWorkingMemoryEntryPoint
-
getReteEvaluator
public ReteEvaluator getReteEvaluator()
- Specified by:
getReteEvaluatorin interfaceWorkingMemoryEntryPoint
-
getEntryPointNode
public EntryPointNode getEntryPointNode()
- Specified by:
getEntryPointNodein interfaceWorkingMemoryEntryPoint
-
getEntryPoint
public WorkingMemoryEntryPoint getEntryPoint(String name)
- Specified by:
getEntryPointin interfaceReteEvaluator- Specified by:
getEntryPointin interfaceorg.kie.api.runtime.rule.RuleRuntime
-
delete
public void delete(org.kie.api.runtime.rule.FactHandle handle, org.kie.api.runtime.rule.FactHandle.State fhState)- Specified by:
deletein interfaceorg.kie.api.runtime.rule.EntryPoint
-
getEnvironment
public org.kie.api.runtime.Environment getEnvironment()
- Specified by:
getEnvironmentin interfaceorg.kie.api.runtime.KieRuntime- Specified by:
getEnvironmentin interfaceWorkingMemory
-
setGlobalResolver
public void setGlobalResolver(GlobalResolver globalResolver)
Description copied from interface:WorkingMemorySets the GlobalResolver instance to be used when resolving globals, replaces the current GlobalResolver. Typcicaly a delegating GlobalResolver is created that first gets a reference to the current GlobalResolver, for delegating- Specified by:
setGlobalResolverin interfaceWorkingMemory
-
getGlobalResolver
public GlobalResolver getGlobalResolver()
- Specified by:
getGlobalResolverin interfaceReteEvaluator
-
getActivationsManager
public ActivationsManager getActivationsManager()
- Specified by:
getActivationsManagerin interfaceReteEvaluator
-
getKnowledgeBase
public InternalKnowledgeBase getKnowledgeBase()
- Specified by:
getKnowledgeBasein interfaceReteEvaluator- Specified by:
getKnowledgeBasein interfaceWorkingMemoryEntryPoint
-
getLock
public Lock getLock()
- Specified by:
getLockin interfaceInternalWorkingMemory
-
isSequential
public boolean isSequential()
- Specified by:
isSequentialin interfaceReteEvaluator
-
fireAllRules
public int fireAllRules()
Description copied from interface:WorkingMemoryFire all items on the agenda until empty.- Specified by:
fireAllRulesin interfaceReteEvaluator- Specified by:
fireAllRulesin interfaceorg.kie.api.runtime.rule.StatefulRuleSession- Specified by:
fireAllRulesin interfaceWorkingMemory
-
getObjectTypeConfigurationRegistry
public ObjectTypeConfigurationRegistry getObjectTypeConfigurationRegistry()
- Specified by:
getObjectTypeConfigurationRegistryin interfaceWorkingMemoryEntryPoint
-
getInitialFactHandle
public InternalFactHandle getInitialFactHandle()
- Specified by:
getInitialFactHandlein interfaceInternalWorkingMemory
-
fireAllRules
public int fireAllRules(org.kie.api.runtime.rule.AgendaFilter agendaFilter)
Description copied from interface:WorkingMemoryFire all items on the agenda until empty, using the given AgendaFiler- Specified by:
fireAllRulesin interfaceReteEvaluator- Specified by:
fireAllRulesin interfaceorg.kie.api.runtime.rule.StatefulRuleSession- Specified by:
fireAllRulesin interfaceWorkingMemory
-
getCalendars
public org.kie.api.runtime.Calendars getCalendars()
- Specified by:
getCalendarsin interfaceorg.kie.api.runtime.KieRuntime- Specified by:
getCalendarsin interfaceReteEvaluator
-
getTimerService
public TimerService getTimerService()
- Specified by:
getTimerServicein interfaceReteEvaluator
-
fireAllRules
public int fireAllRules(int fireLimit)
Description copied from interface:WorkingMemoryFire all items on the agenda until empty or at most 'fireLimit' rules have fired- Specified by:
fireAllRulesin interfaceReteEvaluator- Specified by:
fireAllRulesin interfaceorg.kie.api.runtime.rule.StatefulRuleSession- Specified by:
fireAllRulesin interfaceWorkingMemory
-
getKnowledgeRuntime
public InternalKnowledgeRuntime getKnowledgeRuntime()
- Specified by:
getKnowledgeRuntimein interfaceInternalWorkingMemory
-
fireAllRules
public int fireAllRules(org.kie.api.runtime.rule.AgendaFilter agendaFilter, int fireLimit)Description copied from interface:WorkingMemoryFire all items on the agenda using the given AgendaFiler until empty or at most 'fireLimit' rules have fired- Specified by:
fireAllRulesin interfaceReteEvaluator- Specified by:
fireAllRulesin interfaceorg.kie.api.runtime.rule.StatefulRuleSession- Specified by:
fireAllRulesin interfaceWorkingMemory
-
getChannels
public Map<String,org.kie.api.runtime.Channel> getChannels()
Description copied from interface:InternalWorkingMemoryReturns a map of channel Id->Channel of all channels in this working memory- Specified by:
getChannelsin interfaceInternalWorkingMemory- Specified by:
getChannelsin interfaceorg.kie.api.runtime.KieRuntime- Returns:
-
getEntryPoints
public Collection<? extends org.kie.api.runtime.rule.EntryPoint> getEntryPoints()
- Specified by:
getEntryPointsin interfaceInternalWorkingMemory- Specified by:
getEntryPointsin interfaceReteEvaluator- Specified by:
getEntryPointsin interfaceorg.kie.api.runtime.rule.RuleRuntime
-
getObject
public Object getObject(org.kie.api.runtime.rule.FactHandle handle)
- Specified by:
getObjectin interfaceorg.kie.api.runtime.rule.EntryPoint
-
getSessionConfiguration
public SessionConfiguration getSessionConfiguration()
- Specified by:
getSessionConfigurationin interfaceorg.kie.api.runtime.KieRuntime- Specified by:
getSessionConfigurationin interfaceReteEvaluator
-
getObjects
public Collection<? extends Object> getObjects()
- Specified by:
getObjectsin interfaceorg.kie.api.runtime.rule.EntryPoint
-
startBatchExecution
public void startBatchExecution()
- Specified by:
startBatchExecutionin interfaceInternalWorkingMemory
-
endBatchExecution
public void endBatchExecution()
- Specified by:
endBatchExecutionin interfaceInternalWorkingMemory
-
startOperation
public void startOperation()
Description copied from interface:InternalWorkingMemoryThis method must be called before starting any new work in the engine, like inserting a new fact or firing a new rule. It will reset the engine idle time counter. This method must be extremely light to avoid contentions when called by multiple threads/entry-points- Specified by:
startOperationin interfaceInternalWorkingMemory- Specified by:
startOperationin interfaceReteEvaluator
-
getFactHandle
public InternalFactHandle getFactHandle(Object object)
- Specified by:
getFactHandlein interfaceorg.kie.api.runtime.rule.EntryPoint- Specified by:
getFactHandlein interfaceReteEvaluator
-
iterateObjects
public Iterator<?> iterateObjects()
Description copied from interface:WorkingMemoryReturns an Iterator for the Objects in the Working Memory. This Iterator is not thread safe. This means that any working memory actions during iteration may invalidate the iterator.- Specified by:
iterateObjectsin interfaceWorkingMemory- Returns:
- the Iterator
-
endOperation
public void endOperation()
Description copied from interface:InternalWorkingMemoryThis method must be called after finishing any work in the engine, like inserting a new fact or firing a new rule. It will reset the engine idle time counter. This method must be extremely light to avoid contentions when called by multiple threads/entry-points- Specified by:
endOperationin interfaceInternalWorkingMemory- Specified by:
endOperationin interfaceReteEvaluator
-
iterateObjects
public Iterator<?> iterateObjects(org.kie.api.runtime.ObjectFilter filter)
Description copied from interface:WorkingMemoryReturns an Iterator for the Objects in the Working Memory. This Iterator will filter out any objects that the ObjectFilter does not accept. This Iterator is not thread safe. This means that any working memory actions during iteration may invalidate the iterator.- Specified by:
iterateObjectsin interfaceWorkingMemory- Returns:
- the Iterator
-
getObjects
public Collection<? extends Object> getObjects(org.kie.api.runtime.ObjectFilter filter)
- Specified by:
getObjectsin interfaceorg.kie.api.runtime.rule.EntryPoint
-
getIdleTime
public long getIdleTime()
Description copied from interface:InternalWorkingMemoryReturns the number of time units (usually ms) that the engine is idle according to the session clock or -1 if it is not idle. This method is not synchronised and might return an approximate value.- Specified by:
getIdleTimein interfaceInternalWorkingMemory- Returns:
-
getFactHandles
public <T extends org.kie.api.runtime.rule.FactHandle> Collection<T> getFactHandles()
- Specified by:
getFactHandlesin interfaceorg.kie.api.runtime.rule.EntryPoint
-
getTimeToNextJob
public long getTimeToNextJob()
Description copied from interface:InternalWorkingMemoryReturns the number of time units (usually ms) to the next scheduled job- Specified by:
getTimeToNextJobin interfaceInternalWorkingMemory- Returns:
- the number of time units until the next scheduled job or -1 if there is no job scheduled
-
iterateFactHandles
public Iterator<InternalFactHandle> iterateFactHandles()
Description copied from interface:WorkingMemoryReturns an Iterator for the FactHandles in the Working Memory. This Iterator is not thread safe. This means that any working memory actions during iteration may invalidate the iterator.- Specified by:
iterateFactHandlesin interfaceWorkingMemory- Returns:
- the Iterator
-
getFactHandles
public <T extends org.kie.api.runtime.rule.FactHandle> Collection<T> getFactHandles(org.kie.api.runtime.ObjectFilter filter)
- Specified by:
getFactHandlesin interfaceorg.kie.api.runtime.rule.EntryPoint
-
updateEntryPointsCache
public void updateEntryPointsCache()
- Specified by:
updateEntryPointsCachein interfaceInternalWorkingMemory
-
prepareToFireActivation
public void prepareToFireActivation()
Description copied from interface:InternalWorkingMemoryThis method is called by the agenda before firing a new activation to ensure the working memory is in a safe state to fire the activation.- Specified by:
prepareToFireActivationin interfaceInternalWorkingMemory
-
iterateFactHandles
public Iterator<InternalFactHandle> iterateFactHandles(org.kie.api.runtime.ObjectFilter filter)
Description copied from interface:WorkingMemoryReturns an Iterator for the Objects in the Working Memory. This Iterator will filter out any objects that the ObjectFilter does not accept. This Iterator is not thread safe. This means that any working memory actions during iteration may invalidate the iterator.- Specified by:
iterateFactHandlesin interfaceWorkingMemory- Returns:
- the Iterator
-
getFactCount
public long getFactCount()
- Specified by:
getFactCountin interfaceorg.kie.api.runtime.rule.EntryPoint
-
activationFired
public void activationFired()
Description copied from interface:InternalWorkingMemoryThis method is called by the agenda right after an activation was fired to allow the working memory to resume any activities blocked during activation firing.- Specified by:
activationFiredin interfaceInternalWorkingMemory
-
getTotalFactCount
public long getTotalFactCount()
Description copied from interface:InternalWorkingMemoryReturns the total number of facts in the working memory, i.e., counting all facts from all entry points. This is an approximate value and may not be accurate due to the concurrent nature of the entry points.- Specified by:
getTotalFactCountin interfaceInternalWorkingMemory- Returns:
-
setFocus
public void setFocus(String focus)
Description copied from interface:WorkingMemorySet the focus to the specified AgendaGroup- Specified by:
setFocusin interfaceWorkingMemory
-
getProcessRuntime
public InternalProcessRuntime getProcessRuntime()
- Specified by:
getProcessRuntimein interfaceInternalWorkingMemory
-
internalGetProcessRuntime
public InternalProcessRuntime internalGetProcessRuntime()
- Specified by:
internalGetProcessRuntimein interfaceInternalWorkingMemory
-
closeLiveQuery
public void closeLiveQuery(InternalFactHandle factHandle)
- Specified by:
closeLiveQueryin interfaceInternalWorkingMemory
-
addPropagation
public void addPropagation(PropagationEntry propagationEntry, boolean register)
- Specified by:
addPropagationin interfaceReteEvaluator
-
flushPropagations
public void flushPropagations()
- Specified by:
flushPropagationsin interfaceInternalWorkingMemory
-
activate
public void activate()
- Specified by:
activatein interfaceInternalWorkingMemory
-
deactivate
public void deactivate()
- Specified by:
deactivatein interfaceInternalWorkingMemory
-
tryDeactivate
public boolean tryDeactivate()
- Specified by:
tryDeactivatein interfaceInternalWorkingMemory
-
setAsyncExceptionHandler
public void setAsyncExceptionHandler(AsyncExceptionHandler handler)
Description copied from interface:WorkingMemorySets the AsyncExceptionHandler to handle exceptions thrown by the Agenda Scheduler used for duration rules.- Specified by:
setAsyncExceptionHandlerin interfaceWorkingMemory
-
getActionsIterator
public Iterator<? extends PropagationEntry> getActionsIterator()
- Specified by:
getActionsIteratorin interfaceInternalWorkingMemory
-
removeGlobal
public void removeGlobal(String identifier)
- Specified by:
removeGlobalin interfaceInternalWorkingMemory
-
notifyWaitOnRest
public void notifyWaitOnRest()
- Specified by:
notifyWaitOnRestin interfaceInternalWorkingMemory
-
cancelActivation
public void cancelActivation(Activation activation, boolean declarativeAgenda)
- Specified by:
cancelActivationin interfaceInternalWorkingMemory
-
clearAgenda
public void clearAgenda()
Description copied from interface:WorkingMemoryClear the Agenda. Iterates over each AgendaGroup cancalling all Activations.- Specified by:
clearAgendain interfaceWorkingMemory
-
clearAgendaGroup
public void clearAgendaGroup(String group)
Description copied from interface:WorkingMemoryClear the Agenda Group, cancelling all its Activations.- Specified by:
clearAgendaGroupin interfaceWorkingMemory
-
clearActivationGroup
public void clearActivationGroup(String group)
Description copied from interface:WorkingMemoryClears the Activation Group, cancellings all its Activations- Specified by:
clearActivationGroupin interfaceWorkingMemory
-
clearRuleFlowGroup
public void clearRuleFlowGroup(String group)
Description copied from interface:WorkingMemoryClears the RuleFlow group, cancelling all its Activations- Specified by:
clearRuleFlowGroupin interfaceWorkingMemory
-
startProcess
public org.kie.api.runtime.process.ProcessInstance startProcess(String processId)
Description copied from interface:WorkingMemoryStarts a new process instance for the process with the given id.- Specified by:
startProcessin interfaceorg.kie.api.runtime.process.ProcessRuntime- Specified by:
startProcessin interfaceWorkingMemory
-
startProcess
public org.kie.api.runtime.process.ProcessInstance startProcess(String processId, Map<String,Object> parameters)
Description copied from interface:WorkingMemoryStarts a new process instance for the process with the given id.- Specified by:
startProcessin interfaceorg.kie.api.runtime.process.ProcessRuntime- Specified by:
startProcessin interfaceWorkingMemory
-
startProcess
public org.kie.api.runtime.process.ProcessInstance startProcess(String processId, org.kie.api.runtime.rule.AgendaFilter agendaFilter)
- Specified by:
startProcessin interfaceorg.kie.api.runtime.process.ProcessRuntime
-
startProcess
public org.kie.api.runtime.process.ProcessInstance startProcess(String processId, Map<String,Object> parameters, org.kie.api.runtime.rule.AgendaFilter agendaFilter)
- Specified by:
startProcessin interfaceorg.kie.api.runtime.process.ProcessRuntime
-
getProcessInstances
public Collection<org.kie.api.runtime.process.ProcessInstance> getProcessInstances()
Description copied from interface:WorkingMemoryReturns the list of process instances of this working memory. This list is unmodifiable.- Specified by:
getProcessInstancesin interfaceorg.kie.api.runtime.process.ProcessRuntime- Specified by:
getProcessInstancesin interfaceWorkingMemory- Returns:
- the list of process instances
-
getProcessInstance
public org.kie.api.runtime.process.ProcessInstance getProcessInstance(Object id)
-
getProcessInstance
public org.kie.api.runtime.process.ProcessInstance getProcessInstance(long id)
Description copied from interface:WorkingMemoryReturns the process instance with the given id.- Specified by:
getProcessInstancein interfaceorg.kie.api.runtime.process.ProcessRuntime- Specified by:
getProcessInstancein interfaceWorkingMemory- Returns:
- the process instance with the given id
-
getProcessInstance
public org.kie.api.runtime.process.ProcessInstance getProcessInstance(long id, boolean readOnly)- Specified by:
getProcessInstancein interfaceorg.kie.api.runtime.process.ProcessRuntime- Specified by:
getProcessInstancein interfaceWorkingMemory
-
getWorkItemManager
public org.kie.api.runtime.process.WorkItemManager getWorkItemManager()
- Specified by:
getWorkItemManagerin interfaceorg.kie.api.runtime.process.ProcessRuntime- Specified by:
getWorkItemManagerin interfaceWorkingMemory
-
halt
public void halt()
Description copied from interface:WorkingMemoryStops rule firing after the current rule finishes executing- Specified by:
haltin interfaceorg.kie.api.runtime.rule.RuleRuntime- Specified by:
haltin interfaceWorkingMemory
-
getSessionClock
public org.kie.api.time.SessionClock getSessionClock()
- Specified by:
getSessionClockin interfaceorg.kie.api.runtime.KieRuntime- Specified by:
getSessionClockin interfaceReteEvaluator
-
-