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) |
ExternalTaskDto |
getExternalTask() |
void |
handleFailure(ExternalTaskFailureDto 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 void setRetries(RetriesDto dto)
setRetries
in interface ExternalTaskResource
public void complete(CompleteExternalTaskDto dto)
complete
in interface ExternalTaskResource
public void handleFailure(ExternalTaskFailureDto dto)
handleFailure
in interface ExternalTaskResource
public void unlock()
unlock
in interface ExternalTaskResource
Copyright © 2018. All rights reserved.