@RestController @RequestMapping(value="/jobs/executions/{jobExecutionId}/steps") @ExposesResourceFor(value=StepExecutionProgressInfoResource.class) public class JobStepExecutionProgressController extends Object
| Constructor and Description |
|---|
JobStepExecutionProgressController(org.springframework.batch.admin.service.JobService jobService)
Creates a
JobStepProgressInfoExecutionsController that retrieves Job Step
Progress Execution information from a the JobService |
| Modifier and Type | Method and Description |
|---|---|
StepExecutionProgressInfoResource |
progress(long jobExecutionId,
long stepExecutionId)
Get the step execution progress for the given jobExecutions step.
|
@Autowired public JobStepExecutionProgressController(org.springframework.batch.admin.service.JobService jobService)
JobStepProgressInfoExecutionsController that retrieves Job Step
Progress Execution information from a the JobServicejobService - the service this controller will use for retrieving
job step progress execution information.@RequestMapping(value="/{stepExecutionId}/progress", method=GET) @ResponseStatus(value=OK) public StepExecutionProgressInfoResource progress(@PathVariable long jobExecutionId, @PathVariable long stepExecutionId) throws org.springframework.batch.admin.service.NoSuchStepExecutionException, org.springframework.batch.core.launch.NoSuchJobExecutionException
jobExecutionId - Id of the JobExecution, must not be nullstepExecutionId - Id of the StepExecution, must not be nullStepExecutionProgressInfoResource that has the progress info on the given StepExecution.org.springframework.batch.core.launch.NoSuchJobExecutionException - Thrown if the respective JobExecution does not existorg.springframework.batch.admin.service.NoSuchStepExecutionException - Thrown if the respective StepExecution does not existCopyright © 2016 Pivotal Software, Inc.. All rights reserved.