@RestController @RequestMapping(value="/jobs/configurations") @ExposesResourceFor(value=DetailedJobInfoResource.class) public class BatchJobsController extends AbstractBatchJobsController
jobExecutionInfoResourceAssembler, jobInfoResourceAssembler, jobInstanceInfoResourceAssembler, jobService, progressInfoResourceAssembler, stepExecutionInfoResourceAssembler, timeZone, xdJobDefinitionRepository, xdJobrepository
Constructor and Description |
---|
BatchJobsController() |
Modifier and Type | Method and Description |
---|---|
DetailedJobInfoResource |
jobinfo(java.lang.String jobName) |
org.springframework.hateoas.PagedResources<DetailedJobInfoResource> |
jobs(org.springframework.data.domain.Pageable pageable,
org.springframework.data.web.PagedResourcesAssembler<DetailedJobInfo> assembler)
Get the paged resources of
DetailedJobInfoResource |
setTimeZone
@RequestMapping(value="", method=GET, produces="application/json") @ResponseStatus(value=OK) public org.springframework.hateoas.PagedResources<DetailedJobInfoResource> jobs(org.springframework.data.domain.Pageable pageable, org.springframework.data.web.PagedResourcesAssembler<DetailedJobInfo> assembler)
DetailedJobInfoResource
pageable
- the paging metadataassembler
- the paged resource assembler of type DetailedJobInfo
@RequestMapping(value="/{jobName}", method=GET, produces="application/json") @ResponseStatus(value=OK) public DetailedJobInfoResource jobinfo(@PathVariable java.lang.String jobName)
jobName
- name of the job