Package org.camunda.bpm.engine.rest
Interface ExternalTaskRestService
- All Known Implementing Classes:
ExternalTaskRestServiceImpl
public interface ExternalTaskRestService
- Author:
- Thorben Lindhauer
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
fetchAndLock
(FetchExternalTasksExtendedDto dto, jakarta.ws.rs.container.AsyncResponse asyncResponse) getExternalTask
(String externalTaskId) getExternalTasks
(jakarta.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) getExternalTasksCount
(jakarta.ws.rs.core.UriInfo uriInfo) getTopicNames
(boolean withLockedTasks, boolean withUnlockedTasks, boolean withRetriesLeft) queryExternalTasks
(ExternalTaskQueryDto query, Integer firstResult, Integer maxResults) void
setRetries
(SetRetriesForExternalTasksDto retriesDto) setRetriesAsync
(SetRetriesForExternalTasksDto retriesDto)
-
Field Details
-
PATH
- See Also:
-
-
Method Details
-
getExternalTasks
@GET @Produces("application/json") List<ExternalTaskDto> getExternalTasks(@Context jakarta.ws.rs.core.UriInfo uriInfo, @QueryParam("firstResult") Integer firstResult, @QueryParam("maxResults") Integer maxResults) -
queryExternalTasks
@POST @Consumes("application/json") @Produces("application/json") List<ExternalTaskDto> queryExternalTasks(ExternalTaskQueryDto query, @QueryParam("firstResult") Integer firstResult, @QueryParam("maxResults") Integer maxResults) -
getExternalTasksCount
@GET @Path("/count") @Produces("application/json") CountResultDto getExternalTasksCount(@Context jakarta.ws.rs.core.UriInfo uriInfo) -
queryExternalTasksCount
@POST @Path("/count") @Consumes("application/json") @Produces("application/json") CountResultDto queryExternalTasksCount(ExternalTaskQueryDto query) -
fetchAndLock
@POST @Path("/fetchAndLock") @Consumes("application/json") @Produces("application/json") void fetchAndLock(FetchExternalTasksExtendedDto dto, @Suspended jakarta.ws.rs.container.AsyncResponse asyncResponse) -
getExternalTask
-
setRetries
@PUT @Path("/retries") @Consumes("application/json") void setRetries(SetRetriesForExternalTasksDto retriesDto) -
setRetriesAsync
@POST @Path("/retries-async") @Consumes("application/json") @Produces("application/json") BatchDto setRetriesAsync(SetRetriesForExternalTasksDto retriesDto) -
getTopicNames
-