Class ExternalTaskResourceImpl
java.lang.Object
org.camunda.bpm.engine.rest.sub.externaltask.impl.ExternalTaskResourceImpl
- All Implemented Interfaces:
ExternalTaskResource
- Author:
- Thorben Lindhauer
-
Field Summary
Modifier and TypeFieldDescriptionprotected ProcessEngine
protected String
protected com.fasterxml.jackson.databind.ObjectMapper
-
Constructor Summary
ConstructorDescriptionExternalTaskResourceImpl
(ProcessEngine engine, String externalTaskId, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
extendLock
(ExtendLockOnExternalTaskDto extendLockDto) void
void
void
lock
(LockExternalTaskDto lockExternalTaskDto) void
setPriority
(PriorityDto dto) void
setRetries
(RetriesDto dto) void
unlock()
-
Field Details
-
engine
-
externalTaskId
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Details
-
ExternalTaskResourceImpl
public ExternalTaskResourceImpl(ProcessEngine engine, String externalTaskId, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
getExternalTask
- Specified by:
getExternalTask
in interfaceExternalTaskResource
-
getErrorDetails
- Specified by:
getErrorDetails
in interfaceExternalTaskResource
-
setRetries
- Specified by:
setRetries
in interfaceExternalTaskResource
-
setPriority
- Specified by:
setPriority
in interfaceExternalTaskResource
-
complete
- Specified by:
complete
in interfaceExternalTaskResource
-
handleFailure
- Specified by:
handleFailure
in interfaceExternalTaskResource
-
handleBpmnError
- Specified by:
handleBpmnError
in interfaceExternalTaskResource
-
lock
- Specified by:
lock
in interfaceExternalTaskResource
-
extendLock
- Specified by:
extendLock
in interfaceExternalTaskResource
-
unlock
public void unlock()- Specified by:
unlock
in interfaceExternalTaskResource
-