Interface JobRestService

  • All Known Implementing Classes:
    JobRestServiceImpl

    @Produces("application/json")
    public interface JobRestService
    • Method Detail

      • getJobs

        @GET
        @Produces("application/json")
        List<JobDto> getJobs​(@Context
                             javax.ws.rs.core.UriInfo uriInfo,
                             @QueryParam("firstResult")
                             Integer firstResult,
                             @QueryParam("maxResults")
                             Integer maxResults)
      • queryJobs

        @POST
        @Consumes("application/json")
        @Produces("application/json")
        List<JobDto> queryJobs​(JobQueryDto queryDto,
                               @QueryParam("firstResult")
                               Integer firstResult,
                               @QueryParam("maxResults")
                               Integer maxResults)
      • getJobsCount

        @GET
        @Path("/count")
        @Produces("application/json")
        CountResultDto getJobsCount​(@Context
                                    javax.ws.rs.core.UriInfo uriInfo)
      • queryJobsCount

        @POST
        @Path("/count")
        @Consumes("application/json")
        @Produces("application/json")
        CountResultDto queryJobsCount​(JobQueryDto queryDto)
      • setRetries

        @POST
        @Path("/retries")
        @Consumes("application/json")
        @Produces("application/json")
        BatchDto setRetries​(SetJobRetriesDto setJobRetriesDto)
      • updateSuspensionState

        @PUT
        @Path("/suspended")
        @Consumes("application/json")
        void updateSuspensionState​(JobSuspensionStateDto dto)