Interface ExternalTaskResource
-
- All Known Implementing Classes:
ExternalTaskResourceImpl
public interface ExternalTaskResource
- Author:
- Thorben Lindhauer, Askar Akhmerov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
complete(CompleteExternalTaskDto dto)
void
extendLock(ExtendLockOnExternalTaskDto extendLockDto)
java.lang.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()
-
-
-
Method Detail
-
getExternalTask
@GET @Produces("application/json") ExternalTaskDto getExternalTask()
-
getErrorDetails
@GET @Path("/errorDetails") @Produces("text/plain") java.lang.String getErrorDetails()
-
setRetries
@PUT @Path("/retries") @Consumes("application/json") void setRetries(RetriesDto dto)
-
setPriority
@PUT @Path("/priority") @Consumes("application/json") void setPriority(PriorityDto dto)
-
complete
@POST @Path("/complete") @Consumes("application/json") void complete(CompleteExternalTaskDto dto)
-
handleFailure
@POST @Path("/failure") @Consumes("application/json") void handleFailure(ExternalTaskFailureDto dto)
-
handleBpmnError
@POST @Path("/bpmnError") @Consumes("application/json") void handleBpmnError(ExternalTaskBpmnError dto)
-
lock
@POST @Path("/lock") @Consumes("application/json") void lock(LockExternalTaskDto lockExternalTaskDto)
-
extendLock
@POST @Path("/extendLock") @Consumes("application/json") void extendLock(ExtendLockOnExternalTaskDto extendLockDto)
-
unlock
@POST @Path("/unlock") void unlock()
-
-