Home
Cloud
Big Data
CI
Install
Samples
Java
Ubuntu
Maven
Archive
mtitek-process-core-runtime-api
|
ProcessRuntime.java
ProcessRuntime.java
ProcessRuntime.java
package mtitek.process.runtime; import java.util.List; import java.util.Map; import org.jbpm.process.audit.NodeInstanceLog; import org.kie.api.runtime.process.ProcessInstance; import mtitek.process.runtime.exception.ProcessRuntimeException; public interface ProcessRuntime { ProcessInstance startProcess(final Object payload, final Map<String, String> payloadParameters) throws ProcessRuntimeException; ProcessInstance startProcess(final String payloadId, final Object payload, final Map<String, String> payloadParameters) throws ProcessRuntimeException; ProcessInstance resumeProcess(final Long processInstanceId, final Map<String, String> workItemParameters) throws ProcessRuntimeException; ProcessInstance resumeProcess(final String payloadId, final Map<String, String> workItemParameters) throws ProcessRuntimeException; ProcessInstance cancelProcess(final Long processInstanceId) throws ProcessRuntimeException; ProcessInstance cancelProcess(final String payloadId) throws ProcessRuntimeException; void clearAllAuditHistory() throws ProcessRuntimeException; List<? extends NodeInstanceLog> findNodeInstances(final Long processInstanceId) throws ProcessRuntimeException; }
© 2010-2022
mti
tek