public interface ExternalTaskResource
Modifier and Type | Method and 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() |
@GET @Produces(value="application/json") ExternalTaskDto getExternalTask()
@GET @Path(value="/errorDetails") @Produces(value="text/plain") String getErrorDetails()
@PUT @Path(value="/retries") @Consumes(value="application/json") void setRetries(RetriesDto dto)
@PUT @Path(value="/priority") @Consumes(value="application/json") void setPriority(PriorityDto dto)
@POST @Path(value="/complete") @Consumes(value="application/json") void complete(CompleteExternalTaskDto dto)
@POST @Path(value="/failure") @Consumes(value="application/json") void handleFailure(ExternalTaskFailureDto dto)
@POST @Path(value="/bpmnError") @Consumes(value="application/json") void handleBpmnError(ExternalTaskBpmnError dto)
@POST @Path(value="/lock") @Consumes(value="application/json") void lock(LockExternalTaskDto lockExternalTaskDto)
@POST @Path(value="/extendLock") @Consumes(value="application/json") void extendLock(ExtendLockOnExternalTaskDto extendLockDto)
@POST @Path(value="/unlock") void unlock()
Copyright © 2022. All rights reserved.