@RestController
@RequestMapping(value="/jobs/executions/{jobExecutionId}/steps")
@ExposesResourceFor(value=StepExecutionProgressInfoResource.class)
public class JobStepExecutionProgressController
extends Object
| Constructor and Description |
|---|
JobStepExecutionProgressController(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(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 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 existNoSuchStepExecutionException - Thrown if the respective StepExecution
does not existCopyright © 2019 Pivotal Software, Inc.. All rights reserved.