Class ProcessInstanceResourceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.sub.runtime.impl.ProcessInstanceResourceImpl
-
- All Implemented Interfaces:
ProcessInstanceResource
public class ProcessInstanceResourceImpl extends java.lang.Object implements ProcessInstanceResource
-
-
Field Summary
Fields Modifier and Type Field Description protected ProcessEngine
engine
protected com.fasterxml.jackson.databind.ObjectMapper
objectMapper
protected java.lang.String
processInstanceId
-
Constructor Summary
Constructors Constructor Description ProcessInstanceResourceImpl(ProcessEngine engine, java.lang.String processInstanceId, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteProcessInstance(boolean skipCustomListeners, boolean skipIoMappings, boolean skipSubprocesses, boolean failIfNotExists)
ActivityInstanceDto
getActivityInstanceTree()
ProcessInstanceDto
getProcessInstance()
ProcessInstanceCommentResource
getProcessInstanceCommentResource()
VariableResource
getVariablesResource()
void
modifyProcessInstance(ProcessInstanceModificationDto dto)
BatchDto
modifyProcessInstanceAsync(ProcessInstanceModificationDto dto)
void
updateSuspensionState(SuspensionStateDto dto)
-
-
-
Field Detail
-
engine
protected ProcessEngine engine
-
processInstanceId
protected java.lang.String processInstanceId
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Detail
-
ProcessInstanceResourceImpl
public ProcessInstanceResourceImpl(ProcessEngine engine, java.lang.String processInstanceId, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
getProcessInstance
public ProcessInstanceDto getProcessInstance()
- Specified by:
getProcessInstance
in interfaceProcessInstanceResource
-
deleteProcessInstance
public void deleteProcessInstance(boolean skipCustomListeners, boolean skipIoMappings, boolean skipSubprocesses, boolean failIfNotExists)
- Specified by:
deleteProcessInstance
in interfaceProcessInstanceResource
-
getVariablesResource
public VariableResource getVariablesResource()
- Specified by:
getVariablesResource
in interfaceProcessInstanceResource
-
getActivityInstanceTree
public ActivityInstanceDto getActivityInstanceTree()
- Specified by:
getActivityInstanceTree
in interfaceProcessInstanceResource
-
updateSuspensionState
public void updateSuspensionState(SuspensionStateDto dto)
- Specified by:
updateSuspensionState
in interfaceProcessInstanceResource
-
modifyProcessInstance
public void modifyProcessInstance(ProcessInstanceModificationDto dto)
- Specified by:
modifyProcessInstance
in interfaceProcessInstanceResource
-
modifyProcessInstanceAsync
public BatchDto modifyProcessInstanceAsync(ProcessInstanceModificationDto dto)
- Specified by:
modifyProcessInstanceAsync
in interfaceProcessInstanceResource
-
getProcessInstanceCommentResource
public ProcessInstanceCommentResource getProcessInstanceCommentResource()
- Specified by:
getProcessInstanceCommentResource
in interfaceProcessInstanceResource
-
-