Class ExternalTaskResourceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.sub.externaltask.impl.ExternalTaskResourceImpl
-
- All Implemented Interfaces:
ExternalTaskResource
public class ExternalTaskResourceImpl extends Object implements ExternalTaskResource
- Author:
- Thorben Lindhauer
-
-
Field Summary
Fields Modifier and Type Field Description protected ProcessEngine
engine
protected String
externalTaskId
protected com.fasterxml.jackson.databind.ObjectMapper
objectMapper
-
Constructor Summary
Constructors Constructor Description ExternalTaskResourceImpl(ProcessEngine engine, String externalTaskId, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
complete(CompleteExternalTaskDto dto)
void
extendLock(ExtendLockOnExternalTaskDto extendLockDto)
String
getErrorDetails()
ExternalTaskDto
getExternalTask()
void
handleBpmnError(ExternalTaskBpmnError dto)
void
handleFailure(ExternalTaskFailureDto dto)
void
lock(LockExternalTaskDto lockExternalTaskDto)
void
setPriority(PriorityDto dto)
void
setRetries(RetriesDto dto)
void
unlock()
-
-
-
Field Detail
-
engine
protected ProcessEngine engine
-
externalTaskId
protected String externalTaskId
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Detail
-
ExternalTaskResourceImpl
public ExternalTaskResourceImpl(ProcessEngine engine, String externalTaskId, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
getExternalTask
public ExternalTaskDto getExternalTask()
- Specified by:
getExternalTask
in interfaceExternalTaskResource
-
getErrorDetails
public String getErrorDetails()
- Specified by:
getErrorDetails
in interfaceExternalTaskResource
-
setRetries
public void setRetries(RetriesDto dto)
- Specified by:
setRetries
in interfaceExternalTaskResource
-
setPriority
public void setPriority(PriorityDto dto)
- Specified by:
setPriority
in interfaceExternalTaskResource
-
complete
public void complete(CompleteExternalTaskDto dto)
- Specified by:
complete
in interfaceExternalTaskResource
-
handleFailure
public void handleFailure(ExternalTaskFailureDto dto)
- Specified by:
handleFailure
in interfaceExternalTaskResource
-
handleBpmnError
public void handleBpmnError(ExternalTaskBpmnError dto)
- Specified by:
handleBpmnError
in interfaceExternalTaskResource
-
lock
public void lock(LockExternalTaskDto lockExternalTaskDto)
- Specified by:
lock
in interfaceExternalTaskResource
-
extendLock
public void extendLock(ExtendLockOnExternalTaskDto extendLockDto)
- Specified by:
extendLock
in interfaceExternalTaskResource
-
unlock
public void unlock()
- Specified by:
unlock
in interfaceExternalTaskResource
-
-