public class ProcessInstanceResourceImpl extends Object implements ProcessInstanceResource
Modifier and Type | Field and Description |
---|---|
protected ProcessEngine |
engine |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
protected String |
processInstanceId |
Constructor and Description |
---|
ProcessInstanceResourceImpl(ProcessEngine engine,
String processInstanceId,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
void |
deleteProcessInstance(boolean skipCustomListeners,
boolean skipIoMappings,
boolean skipSubprocesses) |
ActivityInstanceDto |
getActivityInstanceTree() |
ProcessInstanceDto |
getProcessInstance() |
VariableResource |
getVariablesResource() |
void |
modifyProcessInstance(ProcessInstanceModificationDto dto) |
BatchDto |
modifyProcessInstanceAsync(ProcessInstanceModificationDto dto) |
void |
updateSuspensionState(ProcessInstanceSuspensionStateDto dto) |
protected ProcessEngine engine
protected String processInstanceId
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
public ProcessInstanceResourceImpl(ProcessEngine engine, String processInstanceId, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public ProcessInstanceDto getProcessInstance()
getProcessInstance
in interface ProcessInstanceResource
public void deleteProcessInstance(boolean skipCustomListeners, boolean skipIoMappings, boolean skipSubprocesses)
deleteProcessInstance
in interface ProcessInstanceResource
public VariableResource getVariablesResource()
getVariablesResource
in interface ProcessInstanceResource
public ActivityInstanceDto getActivityInstanceTree()
getActivityInstanceTree
in interface ProcessInstanceResource
public void updateSuspensionState(ProcessInstanceSuspensionStateDto dto)
updateSuspensionState
in interface ProcessInstanceResource
public void modifyProcessInstance(ProcessInstanceModificationDto dto)
modifyProcessInstance
in interface ProcessInstanceResource
public BatchDto modifyProcessInstanceAsync(ProcessInstanceModificationDto dto)
modifyProcessInstanceAsync
in interface ProcessInstanceResource
Copyright © 2019. All rights reserved.