public interface JobResource
Modifier and Type | Method and Description |
---|---|
void |
deleteJob() |
void |
executeJob() |
JobDto |
getJob() |
String |
getStacktrace() |
void |
recalculateDuedate(boolean creationDateBased) |
void |
setJobDuedate(JobDuedateDto dto) |
void |
setJobPriority(PriorityDto dto) |
void |
setJobRetries(RetriesDto dto) |
void |
updateSuspensionState(JobSuspensionStateDto dto) |
@GET @Produces(value="application/json") JobDto getJob()
@GET @Path(value="/stacktrace") @Produces(value="text/plain") String getStacktrace()
@PUT @Path(value="/retries") @Consumes(value="application/json") void setJobRetries(RetriesDto dto)
@POST @Path(value="/execute") void executeJob()
@PUT @Path(value="/duedate") @Consumes(value="application/json") void setJobDuedate(JobDuedateDto dto)
@POST @Path(value="/duedate/recalculate") void recalculateDuedate(@DefaultValue(value="true") @QueryParam(value="creationDateBased") boolean creationDateBased)
@PUT @Path(value="/suspended") @Consumes(value="application/json") void updateSuspensionState(JobSuspensionStateDto dto)
@PUT @Path(value="/priority") @Consumes(value="application/json") void setJobPriority(PriorityDto dto)
@DELETE void deleteJob()
Copyright © 2022. All rights reserved.