Interface JobResource
-
- All Known Implementing Classes:
JobResourceImpl
public interface JobResource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
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()
-
-