public class ExternalTaskResourceImpl extends Object implements ExternalTaskResource
Modifier and Type | Field and Description |
---|---|
protected ProcessEngine |
engine |
protected String |
externalTaskId |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
Constructor and Description |
---|
ExternalTaskResourceImpl(ProcessEngine engine,
String externalTaskId,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
void |
complete(CompleteExternalTaskDto dto) |
String |
getErrorDetails() |
ExternalTaskDto |
getExternalTask() |
void |
handleBpmnError(ExternalTaskBpmnError dto) |
void |
handleFailure(ExternalTaskFailureDto dto) |
void |
setPriority(PriorityDto dto) |
void |
setRetries(RetriesDto dto) |
void |
unlock() |
protected ProcessEngine engine
protected String externalTaskId
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
public ExternalTaskResourceImpl(ProcessEngine engine, String externalTaskId, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public ExternalTaskDto getExternalTask()
getExternalTask
in interface ExternalTaskResource
public String getErrorDetails()
getErrorDetails
in interface ExternalTaskResource
public void setRetries(RetriesDto dto)
setRetries
in interface ExternalTaskResource
public void setPriority(PriorityDto dto)
setPriority
in interface ExternalTaskResource
public void complete(CompleteExternalTaskDto dto)
complete
in interface ExternalTaskResource
public void handleFailure(ExternalTaskFailureDto dto)
handleFailure
in interface ExternalTaskResource
public void handleBpmnError(ExternalTaskBpmnError dto)
handleBpmnError
in interface ExternalTaskResource
public void unlock()
unlock
in interface ExternalTaskResource
Copyright © 2018. All rights reserved.