Interface JobResource

All Known Implementing Classes:
JobResourceImpl

public interface JobResource
  • Method Details

    • getJob

      @GET @Produces("application/json") JobDto getJob()
    • getStacktrace

      @GET @Path("/stacktrace") @Produces("text/plain") String getStacktrace()
    • setJobRetries

      @PUT @Path("/retries") @Consumes("application/json") void setJobRetries(RetriesDto dto)
    • executeJob

      @POST @Path("/execute") void executeJob()
    • setJobDuedate

      @PUT @Path("/duedate") @Consumes("application/json") void setJobDuedate(JobDuedateDto dto)
    • recalculateDuedate

      @POST @Path("/duedate/recalculate") void recalculateDuedate(@DefaultValue("true") @QueryParam("creationDateBased") boolean creationDateBased)
    • updateSuspensionState

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

      @PUT @Path("/priority") @Consumes("application/json") void setJobPriority(PriorityDto dto)
    • deleteJob

      @DELETE void deleteJob()