Interface ExternalTaskRestService

    • Method Detail

      • getExternalTasks

        @GET
        @Produces("application/json")
        java.util.List<ExternalTaskDto> getExternalTasks​(@Context
                                                         javax.ws.rs.core.UriInfo uriInfo,
                                                         @QueryParam("firstResult")
                                                         java.lang.Integer firstResult,
                                                         @QueryParam("maxResults")
                                                         java.lang.Integer maxResults)
      • queryExternalTasks

        @POST
        @Consumes("application/json")
        @Produces("application/json")
        java.util.List<ExternalTaskDto> queryExternalTasks​(ExternalTaskQueryDto query,
                                                           @QueryParam("firstResult")
                                                           java.lang.Integer firstResult,
                                                           @QueryParam("maxResults")
                                                           java.lang.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")
                                             java.lang.String externalTaskId)
      • getTopicNames

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