Package org.camunda.bpm.engine.rest
Interface ExternalTaskRestService
-
- All Known Implementing Classes:
ExternalTaskRestServiceImpl
public interface ExternalTaskRestService
- Author:
- Thorben Lindhauer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
fetchAndLock(FetchExternalTasksExtendedDto dto, javax.ws.rs.container.AsyncResponse asyncResponse)
ExternalTaskResource
getExternalTask(String externalTaskId)
List<ExternalTaskDto>
getExternalTasks(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
CountResultDto
getExternalTasksCount(javax.ws.rs.core.UriInfo uriInfo)
List<String>
getTopicNames(boolean withLockedTasks, boolean withUnlockedTasks, boolean withRetriesLeft)
List<ExternalTaskDto>
queryExternalTasks(ExternalTaskQueryDto query, Integer firstResult, Integer maxResults)
CountResultDto
queryExternalTasksCount(ExternalTaskQueryDto query)
void
setRetries(SetRetriesForExternalTasksDto retriesDto)
BatchDto
setRetriesAsync(SetRetriesForExternalTasksDto retriesDto)
-
-
-
Field Detail
-
PATH
static final String PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getExternalTasks
@GET @Produces("application/json") List<ExternalTaskDto> getExternalTasks(@Context javax.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 javax.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 javax.ws.rs.container.AsyncResponse asyncResponse)
-
getExternalTask
@Path("/{id}") ExternalTaskResource getExternalTask(@PathParam("id") String externalTaskId)
-
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)
-
-