public class CaseExecutionResourceImpl extends Object implements CaseExecutionResource
Modifier and Type | Field and Description |
---|---|
protected String |
caseExecutionId |
protected ProcessEngine |
engine |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
Constructor and Description |
---|
CaseExecutionResourceImpl(ProcessEngine engine,
String caseExecutionId,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
protected ProcessEngine engine
protected String caseExecutionId
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
public CaseExecutionResourceImpl(ProcessEngine engine, String caseExecutionId, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public CaseExecutionDto getCaseExecution()
getCaseExecution
in interface CaseExecutionResource
public void manualStart(CaseExecutionTriggerDto triggerDto)
manualStart
in interface CaseExecutionResource
public void disable(CaseExecutionTriggerDto triggerDto)
disable
in interface CaseExecutionResource
public void reenable(CaseExecutionTriggerDto triggerDto)
reenable
in interface CaseExecutionResource
public void complete(CaseExecutionTriggerDto triggerDto)
complete
in interface CaseExecutionResource
protected InvalidRequestException createInvalidRequestException(String transition, javax.ws.rs.core.Response.Status status, ProcessEngineException cause)
protected RestException createRestException(String transition, javax.ws.rs.core.Response.Status status, ProcessEngineException cause)
protected void initializeCommand(CaseExecutionCommandBuilder commandBuilder, CaseExecutionTriggerDto triggerDto, String transition)
protected void initializeCommandWithVariables(CaseExecutionCommandBuilder commandBuilder, Map<String,TriggerVariableValueDto> variables, String transition)
protected void initializeCommandWithDeletions(CaseExecutionCommandBuilder commandBuilder, List<VariableNameDto> deletions, String transition)
public VariableResource getVariablesLocal()
getVariablesLocal
in interface CaseExecutionResource
public VariableResource getVariables()
getVariables
in interface CaseExecutionResource
Copyright © 2018. All rights reserved.