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.api.runtime.rule.AgendaFilter agendaFilter) |
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 |
startProcess(String processId,
Map<String,Object> parameters,
org.kie.api.runtime.rule.AgendaFilter agendaFilter) |
org.kie.api.runtime.process.ProcessInstance |
startProcessFromNodeIds(String processId,
org.kie.internal.process.CorrelationKey key,
Map<String,Object> params,
String... nodeIds) |
org.kie.api.runtime.process.ProcessInstance |
startProcessFromNodeIds(String processId,
Map<String,Object> params,
String... nodeInstancesIds) |
org.kie.api.runtime.process.ProcessInstance |
startProcessInstance(long processInstanceId) |
public void dispose()
dispose in interface InternalProcessRuntimepublic void setProcessEventSupport(ProcessEventSupport processEventSupport)
setProcessEventSupport in interface InternalProcessRuntimepublic void clearProcessInstances()
clearProcessInstances in interface InternalProcessRuntimepublic void clearProcessInstancesState()
clearProcessInstancesState in interface InternalProcessRuntimepublic 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.CorrelationAwareProcessRuntimepublic 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.CorrelationAwareProcessRuntimepublic org.kie.api.runtime.process.ProcessInstance getProcessInstance(org.kie.internal.process.CorrelationKey correlationKey)
getProcessInstance in interface org.kie.internal.process.CorrelationAwareProcessRuntimepublic void addEventListener(org.kie.api.event.process.ProcessEventListener listener)
addEventListener in interface org.kie.api.event.process.ProcessEventManagerpublic void removeEventListener(org.kie.api.event.process.ProcessEventListener listener)
removeEventListener in interface org.kie.api.event.process.ProcessEventManagerpublic Collection<org.kie.api.event.process.ProcessEventListener> getProcessEventListeners()
getProcessEventListeners in interface org.kie.api.event.process.ProcessEventManagerpublic org.kie.api.runtime.process.ProcessInstance startProcess(String processId)
startProcess in interface org.kie.api.runtime.process.ProcessRuntimepublic org.kie.api.runtime.process.ProcessInstance startProcess(String processId, Map<String,Object> parameters)
startProcess in interface org.kie.api.runtime.process.ProcessRuntimepublic org.kie.api.runtime.process.ProcessInstance startProcess(String processId, org.kie.api.runtime.rule.AgendaFilter agendaFilter)
startProcess in interface org.kie.api.runtime.process.ProcessRuntimepublic org.kie.api.runtime.process.ProcessInstance startProcess(String processId, Map<String,Object> parameters, org.kie.api.runtime.rule.AgendaFilter agendaFilter)
startProcess in interface org.kie.api.runtime.process.ProcessRuntimepublic org.kie.api.runtime.process.ProcessInstance createProcessInstance(String processId, Map<String,Object> parameters)
createProcessInstance in interface org.kie.api.runtime.process.ProcessRuntimepublic org.kie.api.runtime.process.ProcessInstance startProcessInstance(long processInstanceId)
startProcessInstance in interface org.kie.api.runtime.process.ProcessRuntimepublic void signalEvent(String type, Object event)
signalEvent in interface org.kie.api.runtime.process.ProcessRuntimepublic void signalEvent(String type, Object event, long processInstanceId)
signalEvent in interface org.kie.api.runtime.process.ProcessRuntimepublic Collection<org.kie.api.runtime.process.ProcessInstance> getProcessInstances()
getProcessInstances in interface org.kie.api.runtime.process.ProcessRuntimepublic org.kie.api.runtime.process.ProcessInstance getProcessInstance(long processInstanceId)
getProcessInstance in interface org.kie.api.runtime.process.ProcessRuntimepublic org.kie.api.runtime.process.ProcessInstance getProcessInstance(long processInstanceId,
boolean readonly)
getProcessInstance in interface org.kie.api.runtime.process.ProcessRuntimepublic void abortProcessInstance(long processInstanceId)
abortProcessInstance in interface org.kie.api.runtime.process.ProcessRuntimepublic org.kie.api.runtime.process.WorkItemManager getWorkItemManager()
getWorkItemManager in interface org.kie.api.runtime.process.ProcessRuntimepublic org.kie.api.runtime.process.ProcessInstance startProcessFromNodeIds(String processId, Map<String,Object> params, String... nodeInstancesIds)
startProcessFromNodeIds in interface org.kie.api.runtime.process.ProcessRuntimepublic org.kie.api.runtime.process.ProcessInstance startProcessFromNodeIds(String processId, org.kie.internal.process.CorrelationKey key, Map<String,Object> params, String... nodeIds)
startProcessFromNodeIds in interface org.kie.internal.process.CorrelationAwareProcessRuntimeCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.