Interface ExternalTaskRestService

All Known Implementing Classes:
ExternalTaskRestServiceImpl

public interface ExternalTaskRestService
Author:
Thorben Lindhauer
  • Field Details

  • 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

      @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)
    • getTopicNames

      @GET @Path("/topic-names") @Produces("application/json") List<String> getTopicNames(@QueryParam("withLockedTasks") boolean withLockedTasks, @QueryParam("withUnlockedTasks") boolean withUnlockedTasks, @QueryParam("withRetriesLeft") boolean withRetriesLeft)