Interface ExternalTaskRestService

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

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