@RestController
@RequestMapping(value="/jobs/executions/{jobExecutionId}/steps")
@ExposesResourceFor(value=org.springframework.cloud.dataflow.rest.resource.StepExecutionProgressInfoResource.class)
public class JobStepExecutionProgressController
extends Object
| Constructor and Description |
|---|
JobStepExecutionProgressController(JobServiceContainer jobServiceContainer,
TaskJobService taskJobService)
Creates a
JobStepProgressInfoExecutionsController that retrieves Job Step
Progress Execution information from a the JobServiceContainer |
| Modifier and Type | Method and Description |
|---|---|
StepExecutionProgressInfoResource |
progress(long jobExecutionId,
long stepExecutionId,
String schemaTarget)
Get the step execution progress for the given jobExecutions step.
|
@Autowired public JobStepExecutionProgressController(JobServiceContainer jobServiceContainer, TaskJobService taskJobService)
JobStepProgressInfoExecutionsController that retrieves Job Step
Progress Execution information from a the JobServiceContainerjobServiceContainer - A container of JobServices that this controller will use for retrieving job step
progress execution information.taskJobService - Queries both schemas.@RequestMapping(value="/{stepExecutionId}/progress",
method=GET)
@ResponseStatus(value=OK)
public StepExecutionProgressInfoResource progress(@PathVariable
long jobExecutionId,
@PathVariable
long stepExecutionId,
@RequestParam(name="schemaTarget",required=false)
String schemaTarget)
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 © 2024 Pivotal Software, Inc.. All rights reserved.