public static class StatefulKnowledgeSessionImpl.DummyInternalProcessRuntime extends Object implements InternalProcessRuntime
Constructor and Description |
---|
DummyInternalProcessRuntime() |
Modifier and Type | Method and Description |
---|---|
void |
abortProcessInstance(long processInstanceId) |
void |
addEventListener(org.kie.api.event.process.ProcessEventListener listener) |
void |
clearProcessInstances() |
void |
clearProcessInstancesState() |
org.kie.api.runtime.process.ProcessInstance |
createProcessInstance(String processId,
org.kie.internal.process.CorrelationKey correlationKey,
Map<String,Object> parameters) |
org.kie.api.runtime.process.ProcessInstance |
createProcessInstance(String processId,
Map<String,Object> parameters) |
void |
dispose() |
Collection<org.kie.api.event.process.ProcessEventListener> |
getProcessEventListeners() |
org.kie.api.runtime.process.ProcessInstance |
getProcessInstance(org.kie.internal.process.CorrelationKey correlationKey) |
org.kie.api.runtime.process.ProcessInstance |
getProcessInstance(long processInstanceId) |
org.kie.api.runtime.process.ProcessInstance |
getProcessInstance(long processInstanceId,
boolean readonly) |
Collection<org.kie.api.runtime.process.ProcessInstance> |
getProcessInstances() |
org.kie.api.runtime.process.WorkItemManager |
getWorkItemManager() |
void |
removeEventListener(org.kie.api.event.process.ProcessEventListener listener) |
void |
setProcessEventSupport(ProcessEventSupport processEventSupport) |
void |
signalEvent(String type,
Object event) |
void |
signalEvent(String type,
Object event,
long processInstanceId) |
org.kie.api.runtime.process.ProcessInstance |
startProcess(String processId) |
org.kie.api.runtime.process.ProcessInstance |
startProcess(String processId,
org.kie.internal.process.CorrelationKey correlationKey,
Map<String,Object> parameters) |
org.kie.api.runtime.process.ProcessInstance |
startProcess(String processId,
Map<String,Object> parameters) |
org.kie.api.runtime.process.ProcessInstance |
startProcessInstance(long processInstanceId) |
public void dispose()
dispose
in interface InternalProcessRuntime
public void setProcessEventSupport(ProcessEventSupport processEventSupport)
setProcessEventSupport
in interface InternalProcessRuntime
public void clearProcessInstances()
clearProcessInstances
in interface InternalProcessRuntime
public void clearProcessInstancesState()
clearProcessInstancesState
in interface InternalProcessRuntime
public org.kie.api.runtime.process.ProcessInstance startProcess(String processId, org.kie.internal.process.CorrelationKey correlationKey, Map<String,Object> parameters)
startProcess
in interface org.kie.internal.process.CorrelationAwareProcessRuntime
public org.kie.api.runtime.process.ProcessInstance createProcessInstance(String processId, org.kie.internal.process.CorrelationKey correlationKey, Map<String,Object> parameters)
createProcessInstance
in interface org.kie.internal.process.CorrelationAwareProcessRuntime
public org.kie.api.runtime.process.ProcessInstance getProcessInstance(org.kie.internal.process.CorrelationKey correlationKey)
getProcessInstance
in interface org.kie.internal.process.CorrelationAwareProcessRuntime
public void addEventListener(org.kie.api.event.process.ProcessEventListener listener)
addEventListener
in interface org.kie.api.event.process.ProcessEventManager
public void removeEventListener(org.kie.api.event.process.ProcessEventListener listener)
removeEventListener
in interface org.kie.api.event.process.ProcessEventManager
public Collection<org.kie.api.event.process.ProcessEventListener> getProcessEventListeners()
getProcessEventListeners
in interface org.kie.api.event.process.ProcessEventManager
public org.kie.api.runtime.process.ProcessInstance startProcess(String processId)
startProcess
in interface org.kie.api.runtime.process.ProcessRuntime
public org.kie.api.runtime.process.ProcessInstance startProcess(String processId, Map<String,Object> parameters)
startProcess
in interface org.kie.api.runtime.process.ProcessRuntime
public org.kie.api.runtime.process.ProcessInstance createProcessInstance(String processId, Map<String,Object> parameters)
createProcessInstance
in interface org.kie.api.runtime.process.ProcessRuntime
public org.kie.api.runtime.process.ProcessInstance startProcessInstance(long processInstanceId)
startProcessInstance
in interface org.kie.api.runtime.process.ProcessRuntime
public void signalEvent(String type, Object event)
signalEvent
in interface org.kie.api.runtime.process.ProcessRuntime
public void signalEvent(String type, Object event, long processInstanceId)
signalEvent
in interface org.kie.api.runtime.process.ProcessRuntime
public Collection<org.kie.api.runtime.process.ProcessInstance> getProcessInstances()
getProcessInstances
in interface org.kie.api.runtime.process.ProcessRuntime
public org.kie.api.runtime.process.ProcessInstance getProcessInstance(long processInstanceId)
getProcessInstance
in interface org.kie.api.runtime.process.ProcessRuntime
public org.kie.api.runtime.process.ProcessInstance getProcessInstance(long processInstanceId, boolean readonly)
getProcessInstance
in interface org.kie.api.runtime.process.ProcessRuntime
public void abortProcessInstance(long processInstanceId)
abortProcessInstance
in interface org.kie.api.runtime.process.ProcessRuntime
public org.kie.api.runtime.process.WorkItemManager getWorkItemManager()
getWorkItemManager
in interface org.kie.api.runtime.process.ProcessRuntime
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.