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 CaseExecutionResourcepublic void manualStart(CaseExecutionTriggerDto triggerDto)
manualStart in interface CaseExecutionResourcepublic void disable(CaseExecutionTriggerDto triggerDto)
disable in interface CaseExecutionResourcepublic void reenable(CaseExecutionTriggerDto triggerDto)
reenable in interface CaseExecutionResourcepublic void complete(CaseExecutionTriggerDto triggerDto)
complete in interface CaseExecutionResourcepublic void terminate(CaseExecutionTriggerDto triggerDto)
terminate in interface CaseExecutionResourceprotected 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 CaseExecutionResourcepublic VariableResource getVariables()
getVariables in interface CaseExecutionResourceCopyright © 2018. All rights reserved.