Class WrappedStatefulKnowledgeSessionForRHS

    • Constructor Detail

      • WrappedStatefulKnowledgeSessionForRHS

        public WrappedStatefulKnowledgeSessionForRHS​(WorkingMemory workingMemory)
      • WrappedStatefulKnowledgeSessionForRHS

        public WrappedStatefulKnowledgeSessionForRHS()
        This should be used just by deserialization. Please avoid using this empty constructor in your code.
    • Method Detail

      • getQueryResults

        public org.kie.api.runtime.rule.QueryResults getQueryResults​(String queryName,
                                                                     Object... arguments)
        Description copied from interface: WorkingMemory
        Retrieve the QueryResults of the specified query and arguments
        Specified by:
        getQueryResults in interface org.kie.api.runtime.rule.RuleRuntime
        Specified by:
        getQueryResults in interface WorkingMemory
        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:
        getLogger in interface org.kie.api.event.KieRuntimeEventManager
      • setLogger

        public void setLogger​(org.kie.api.logger.KieRuntimeLogger logger)
      • getKieRuntime

        public <T> T getKieRuntime​(Class<T> cls)
        Specified by:
        getKieRuntime in interface org.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:
        addEventListener in interface org.kie.api.event.process.ProcessEventManager
      • getProcessEventListeners

        public Collection<org.kie.api.event.process.ProcessEventListener> getProcessEventListeners()
        Specified by:
        getProcessEventListeners in interface org.kie.api.event.process.ProcessEventManager
      • removeEventListener

        public void removeEventListener​(org.kie.api.event.process.ProcessEventListener listener)
        Specified by:
        removeEventListener in interface org.kie.api.event.process.ProcessEventManager
      • getKieBase

        public org.kie.api.KieBase getKieBase()
        Specified by:
        getKieBase in interface org.kie.api.runtime.KieRuntime
      • isAlive

        public boolean isAlive()
      • destroy

        public void destroy()
        Specified by:
        destroy in interface org.kie.api.runtime.KieSession
      • update

        public void update​(org.kie.api.runtime.rule.FactHandle factHandle)
      • abortProcessInstance

        public void abortProcessInstance​(long id)
        Specified by:
        abortProcessInstance in interface org.kie.api.runtime.process.ProcessRuntime
      • signalEvent

        public void signalEvent​(String type,
                                Object event)
        Specified by:
        signalEvent in interface org.kie.api.runtime.process.ProcessRuntime
      • signalEvent

        public void signalEvent​(String type,
                                Object event,
                                long processInstanceId)
        Specified by:
        signalEvent in interface org.kie.api.runtime.process.ProcessRuntime
      • getGlobals

        public org.kie.api.runtime.Globals getGlobals()
        Specified by:
        getGlobals in interface org.kie.api.runtime.KieRuntime
      • execute

        public <T> T execute​(org.kie.api.command.Command<T> command)
        Specified by:
        execute in interface org.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:
        openLiveQuery in interface org.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:
        getId in interface org.kie.api.runtime.KieSession
      • fireUntilHalt

        public void fireUntilHalt()
        Specified by:
        fireUntilHalt in interface org.kie.api.runtime.rule.StatefulRuleSession
      • fireUntilHalt

        public void fireUntilHalt​(org.kie.api.runtime.rule.AgendaFilter agendaFilter)
        Specified by:
        fireUntilHalt in interface org.kie.api.runtime.rule.StatefulRuleSession
      • executeQueuedActions

        public void executeQueuedActions()
      • getPropagationIdCounter

        public long getPropagationIdCounter()
      • createProcessInstance

        public org.kie.api.runtime.process.ProcessInstance createProcessInstance​(String processId,
                                                                                 Map<String,​Object> parameters)
        Specified by:
        createProcessInstance in interface org.kie.api.runtime.process.ProcessRuntime
      • startProcessInstance

        public org.kie.api.runtime.process.ProcessInstance startProcessInstance​(long processInstanceId)
        Specified by:
        startProcessInstance in interface org.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()
      • getActivationParameters

        public Map.Entry[] getActivationParameters​(long activationId)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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:
        registerChannel in interface org.kie.api.runtime.KieRuntime
      • unregisterChannel

        public void unregisterChannel​(String name)
        Specified by:
        unregisterChannel in interface org.kie.api.runtime.KieRuntime
      • iterateObjectsToList

        public List iterateObjectsToList()
      • iterateNonDefaultEntryPointObjectsToList

        public List iterateNonDefaultEntryPointObjectsToList()
      • getActivationParameters

        public Map getActivationParameters​(Activation activation)
      • addEventListener

        public void addEventListener​(org.kie.api.event.kiebase.KieBaseEventListener listener)
        Specified by:
        addEventListener in interface org.kie.api.event.kiebase.KieBaseEventManager
      • insert

        public org.kie.api.runtime.rule.FactHandle insert​(Object object)
        Specified by:
        insert in interface org.kie.api.runtime.rule.EntryPoint
      • submit

        public void submit​(org.kie.api.runtime.KieSession.AtomicAction action)
        Specified by:
        submit in interface org.kie.api.runtime.KieSession
      • removeEventListener

        public void removeEventListener​(org.kie.api.event.kiebase.KieBaseEventListener listener)
        Specified by:
        removeEventListener in interface org.kie.api.event.kiebase.KieBaseEventManager
      • addEventListener

        public void addEventListener​(org.kie.api.event.rule.RuleRuntimeEventListener listener)
        Description copied from interface: WorkingMemoryEventManager
        Add an event listener.
        Specified by:
        addEventListener in interface org.kie.api.event.rule.RuleRuntimeEventManager
        Specified by:
        addEventListener in interface WorkingMemoryEventManager
        Parameters:
        listener - The listener to add.
      • getKieBaseEventListeners

        public Collection<org.kie.api.event.kiebase.KieBaseEventListener> getKieBaseEventListeners()
        Specified by:
        getKieBaseEventListeners in interface org.kie.api.event.kiebase.KieBaseEventManager
      • insert

        public org.kie.api.runtime.rule.FactHandle insert​(Object object,
                                                          boolean dynamic)
        Description copied from interface: WorkingMemoryEntryPoint
        Insert a fact registering JavaBean PropertyChangeListeners on the Object to automatically trigger update calls if dynamic is true.
        Specified by:
        insert in interface WorkingMemoryEntryPoint
        Parameters:
        object - The fact object.
        dynamic - true if Drools should add JavaBean PropertyChangeListeners to the object.
        Returns:
        The new fact-handle associated with the object.
      • removeEventListener

        public void removeEventListener​(org.kie.api.event.rule.RuleRuntimeEventListener listener)
        Description copied from interface: WorkingMemoryEventManager
        Remove an event listener.
        Specified by:
        removeEventListener in interface org.kie.api.event.rule.RuleRuntimeEventManager
        Specified by:
        removeEventListener in interface WorkingMemoryEventManager
        Parameters:
        listener - The listener to remove.
      • addEventListener

        public void addEventListener​(org.kie.api.event.rule.AgendaEventListener listener)
        Description copied from interface: WorkingMemoryEventManager
        Add an event listener.
        Specified by:
        addEventListener in interface org.kie.api.event.rule.RuleRuntimeEventManager
        Specified by:
        addEventListener in interface WorkingMemoryEventManager
        Parameters:
        listener - The listener to add.
      • getEntryPointId

        public String getEntryPointId()
        Specified by:
        getEntryPointId in interface org.kie.api.runtime.rule.EntryPoint
      • retract

        public void retract​(org.kie.api.runtime.rule.FactHandle handle)
        Specified by:
        retract in interface org.kie.api.runtime.rule.EntryPoint
      • getAgenda

        public InternalAgenda getAgenda()
        Description copied from interface: WorkingMemory
        Returns the Agenda for this WorkingMemory. While the WorkingMemory interface is considered public, the Agenda interface is more subject to change.
        Specified by:
        getAgenda in interface InternalWorkingMemory
        Specified by:
        getAgenda in interface org.kie.api.runtime.rule.RuleRuntime
        Specified by:
        getAgenda in interface WorkingMemory
        Returns:
        the Agenda
      • getIdentifier

        public long getIdentifier()
        Specified by:
        getIdentifier in interface InternalWorkingMemory
        Specified by:
        getIdentifier in interface org.kie.api.runtime.KieSession
      • removeEventListener

        public void removeEventListener​(org.kie.api.event.rule.AgendaEventListener listener)
        Description copied from interface: WorkingMemoryEventManager
        Remove an event listener.
        Specified by:
        removeEventListener in interface org.kie.api.event.rule.RuleRuntimeEventManager
        Specified by:
        removeEventListener in interface WorkingMemoryEventManager
        Parameters:
        listener - The listener to remove.
      • update

        public void update​(org.kie.api.runtime.rule.FactHandle handle,
                           Object object)
        Specified by:
        update in interface org.kie.api.runtime.rule.EntryPoint
      • update

        public void update​(org.kie.api.runtime.rule.FactHandle handle,
                           Object object,
                           String... modifiedProperties)
        Specified by:
        update in interface org.kie.api.runtime.rule.EntryPoint
      • setGlobal

        public void setGlobal​(String identifier,
                              Object value)
        Description copied from interface: WorkingMemory
        Set 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:
        setGlobal in interface org.kie.api.runtime.KieRuntime
        Specified by:
        setGlobal in interface WorkingMemory
        Parameters:
        identifier - the identifier under which to populate the data
        value - the global value, cannot be null
      • delete

        public void delete​(org.kie.api.runtime.rule.FactHandle handle)
        Specified by:
        delete in interface org.kie.api.runtime.rule.EntryPoint
      • dispose

        public void dispose()
        Description copied from interface: WorkingMemoryEntryPoint
        Internal 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:
        dispose in interface org.kie.api.runtime.KieSession
        Specified by:
        dispose in interface WorkingMemoryEntryPoint
      • getGlobal

        public Object getGlobal​(String identifier)
        Description copied from interface: WorkingMemory
        Retrieve a specific instance of global data by identifier
        Specified by:
        getGlobal in interface org.kie.api.runtime.KieRuntime
        Specified by:
        getGlobal in interface WorkingMemory
        Returns:
        application data or null if nothing is set under this identifier
      • getEntryPoint

        public org.kie.api.runtime.rule.EntryPoint getEntryPoint​(String name)
        Specified by:
        getEntryPoint in interface InternalWorkingMemory
        Specified by:
        getEntryPoint in interface org.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:
        delete in interface org.kie.api.runtime.rule.EntryPoint
      • getEnvironment

        public org.kie.api.runtime.Environment getEnvironment()
        Specified by:
        getEnvironment in interface org.kie.api.runtime.KieRuntime
        Specified by:
        getEnvironment in interface WorkingMemory
      • setGlobalResolver

        public void setGlobalResolver​(GlobalResolver globalResolver)
        Description copied from interface: WorkingMemory
        Sets 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:
        setGlobalResolver in interface WorkingMemory
      • fireAllRules

        public int fireAllRules()
        Description copied from interface: WorkingMemory
        Fire all items on the agenda until empty.
        Specified by:
        fireAllRules in interface org.kie.api.runtime.rule.StatefulRuleSession
        Specified by:
        fireAllRules in interface WorkingMemory
      • fireAllRules

        public int fireAllRules​(org.kie.api.runtime.rule.AgendaFilter agendaFilter)
        Description copied from interface: WorkingMemory
        Fire all items on the agenda until empty, using the given AgendaFiler
        Specified by:
        fireAllRules in interface org.kie.api.runtime.rule.StatefulRuleSession
        Specified by:
        fireAllRules in interface WorkingMemory
      • getCalendars

        public org.kie.api.runtime.Calendars getCalendars()
        Specified by:
        getCalendars in interface InternalWorkingMemory
        Specified by:
        getCalendars in interface org.kie.api.runtime.KieRuntime
      • fireAllRules

        public int fireAllRules​(int fireLimit)
        Description copied from interface: WorkingMemory
        Fire all items on the agenda until empty or at most 'fireLimit' rules have fired
        Specified by:
        fireAllRules in interface org.kie.api.runtime.rule.StatefulRuleSession
        Specified by:
        fireAllRules in interface WorkingMemory
      • fireAllRules

        public int fireAllRules​(org.kie.api.runtime.rule.AgendaFilter agendaFilter,
                                int fireLimit)
        Description copied from interface: WorkingMemory
        Fire all items on the agenda using the given AgendaFiler until empty or at most 'fireLimit' rules have fired
        Specified by:
        fireAllRules in interface org.kie.api.runtime.rule.StatefulRuleSession
        Specified by:
        fireAllRules in interface WorkingMemory
      • getChannels

        public Map<String,​org.kie.api.runtime.Channel> getChannels()
        Description copied from interface: InternalWorkingMemory
        Returns a map of channel Id->Channel of all channels in this working memory
        Specified by:
        getChannels in interface InternalWorkingMemory
        Specified by:
        getChannels in interface org.kie.api.runtime.KieRuntime
        Returns:
      • getEntryPoints

        public Collection<? extends org.kie.api.runtime.rule.EntryPoint> getEntryPoints()
        Specified by:
        getEntryPoints in interface InternalWorkingMemory
        Specified by:
        getEntryPoints in interface org.kie.api.runtime.rule.RuleRuntime
      • getObject

        public Object getObject​(org.kie.api.runtime.rule.FactHandle handle)
        Description copied from interface: WorkingMemory
        Retrieve the object associated with a FactHandle.
        Specified by:
        getObject in interface org.kie.api.runtime.rule.EntryPoint
        Specified by:
        getObject in interface WorkingMemory
        Parameters:
        handle - The fact handle.
        Returns:
        The associated object.
      • getObjects

        public Collection<? extends Object> getObjects()
        Specified by:
        getObjects in interface org.kie.api.runtime.rule.EntryPoint
      • startOperation

        public void startOperation()
        Description copied from interface: InternalWorkingMemory
        This 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:
        startOperation in interface InternalWorkingMemory
      • getFactHandle

        public org.kie.api.runtime.rule.FactHandle getFactHandle​(Object object)
        Description copied from interface: WorkingMemory
        Retrieve the FactHandle associated with an Object.
        Specified by:
        getFactHandle in interface org.kie.api.runtime.rule.EntryPoint
        Specified by:
        getFactHandle in interface WorkingMemory
        Parameters:
        object - The object.
        Returns:
        The associated fact handle.
      • iterateObjects

        public Iterator<?> iterateObjects()
        Description copied from interface: WorkingMemory
        Returns 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:
        iterateObjects in interface WorkingMemory
        Returns:
        the Iterator
      • endOperation

        public void endOperation()
        Description copied from interface: InternalWorkingMemory
        This 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:
        endOperation in interface InternalWorkingMemory
      • iterateObjects

        public Iterator<?> iterateObjects​(org.kie.api.runtime.ObjectFilter filter)
        Description copied from interface: WorkingMemory
        Returns 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:
        iterateObjects in interface WorkingMemory
        Returns:
        the Iterator
      • getObjects

        public Collection<? extends Object> getObjects​(org.kie.api.runtime.ObjectFilter filter)
        Specified by:
        getObjects in interface org.kie.api.runtime.rule.EntryPoint
      • getIdleTime

        public long getIdleTime()
        Description copied from interface: InternalWorkingMemory
        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. This method is not synchronised and might return an approximate value.
        Specified by:
        getIdleTime in interface InternalWorkingMemory
        Returns:
      • getFactHandles

        public <T extends org.kie.api.runtime.rule.FactHandle> Collection<T> getFactHandles()
        Specified by:
        getFactHandles in interface org.kie.api.runtime.rule.EntryPoint
      • getTimeToNextJob

        public long getTimeToNextJob()
        Description copied from interface: InternalWorkingMemory
        Returns the number of time units (usually ms) to the next scheduled job
        Specified by:
        getTimeToNextJob in interface InternalWorkingMemory
        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: WorkingMemory
        Returns 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:
        iterateFactHandles in interface WorkingMemory
        Returns:
        the Iterator
      • getFactHandles

        public <T extends org.kie.api.runtime.rule.FactHandle> Collection<T> getFactHandles​(org.kie.api.runtime.ObjectFilter filter)
        Specified by:
        getFactHandles in interface org.kie.api.runtime.rule.EntryPoint
      • prepareToFireActivation

        public void prepareToFireActivation()
        Description copied from interface: InternalWorkingMemory
        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.
        Specified by:
        prepareToFireActivation in interface InternalWorkingMemory
      • iterateFactHandles

        public Iterator<InternalFactHandle> iterateFactHandles​(org.kie.api.runtime.ObjectFilter filter)
        Description copied from interface: WorkingMemory
        Returns 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:
        iterateFactHandles in interface WorkingMemory
        Returns:
        the Iterator
      • getFactCount

        public long getFactCount()
        Specified by:
        getFactCount in interface org.kie.api.runtime.rule.EntryPoint
      • activationFired

        public void activationFired()
        Description copied from interface: InternalWorkingMemory
        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.
        Specified by:
        activationFired in interface InternalWorkingMemory
      • getTotalFactCount

        public long getTotalFactCount()
        Description copied from interface: InternalWorkingMemory
        Returns 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:
        getTotalFactCount in interface InternalWorkingMemory
        Returns:
      • clearAgenda

        public void clearAgenda()
        Description copied from interface: WorkingMemory
        Clear the Agenda. Iterates over each AgendaGroup cancalling all Activations.
        Specified by:
        clearAgenda in interface WorkingMemory
      • startProcess

        public org.kie.api.runtime.process.ProcessInstance startProcess​(String processId)
        Description copied from interface: WorkingMemory
        Starts a new process instance for the process with the given id.
        Specified by:
        startProcess in interface org.kie.api.runtime.process.ProcessRuntime
        Specified by:
        startProcess in interface WorkingMemory
      • startProcess

        public org.kie.api.runtime.process.ProcessInstance startProcess​(String processId,
                                                                        Map<String,​Object> parameters)
        Description copied from interface: WorkingMemory
        Starts a new process instance for the process with the given id.
        Specified by:
        startProcess in interface org.kie.api.runtime.process.ProcessRuntime
        Specified by:
        startProcess in interface WorkingMemory
      • startProcess

        public org.kie.api.runtime.process.ProcessInstance startProcess​(String processId,
                                                                        org.kie.api.runtime.rule.AgendaFilter agendaFilter)
        Specified by:
        startProcess in interface org.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:
        startProcess in interface org.kie.api.runtime.process.ProcessRuntime
      • getProcessInstances

        public Collection<org.kie.api.runtime.process.ProcessInstance> getProcessInstances()
        Description copied from interface: WorkingMemory
        Returns the list of process instances of this working memory. This list is unmodifiable.
        Specified by:
        getProcessInstances in interface org.kie.api.runtime.process.ProcessRuntime
        Specified by:
        getProcessInstances in interface WorkingMemory
        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: WorkingMemory
        Returns the process instance with the given id.
        Specified by:
        getProcessInstance in interface org.kie.api.runtime.process.ProcessRuntime
        Specified by:
        getProcessInstance in interface WorkingMemory
        Returns:
        the process instance with the given id
      • getProcessInstance

        public org.kie.api.runtime.process.ProcessInstance getProcessInstance​(long id,
                                                                              boolean readOnly)
        Specified by:
        getProcessInstance in interface org.kie.api.runtime.process.ProcessRuntime
        Specified by:
        getProcessInstance in interface WorkingMemory
      • getWorkItemManager

        public org.kie.api.runtime.process.WorkItemManager getWorkItemManager()
        Specified by:
        getWorkItemManager in interface org.kie.api.runtime.process.ProcessRuntime
        Specified by:
        getWorkItemManager in interface WorkingMemory
      • halt

        public void halt()
        Description copied from interface: WorkingMemory
        Stops rule firing after the current rule finishes executing
        Specified by:
        halt in interface org.kie.api.runtime.rule.RuleRuntime
        Specified by:
        halt in interface WorkingMemory
      • getSessionClock

        public org.kie.api.time.SessionClock getSessionClock()
        Description copied from interface: WorkingMemory
        Returns the session clock instance associated with this session
        Specified by:
        getSessionClock in interface org.kie.api.runtime.KieRuntime
        Specified by:
        getSessionClock in interface WorkingMemory
        Returns:
      • startProcessFromNodeIds

        public org.kie.api.runtime.process.ProcessInstance startProcessFromNodeIds​(String processId,
                                                                                   Map<String,​Object> params,
                                                                                   String... nodeIds)
        Specified by:
        startProcessFromNodeIds in interface org.kie.api.runtime.process.ProcessRuntime