@RestController
@RequestMapping(value="/batch/executions/{jobExecutionId}/steps")
@ExposesResourceFor(value=org.springframework.batch.admin.domain.StepExecutionInfoResource.class)
public class BatchStepExecutionsController
extends AbstractBatchJobsController
StepExecutions.jobExecutionInfoResourceAssembler, jobInfoResourceAssembler, jobInstanceInfoResourceAssembler, jobService, progressInfoResourceAssembler, stepExecutionInfoResourceAssembler, timeZone| Constructor and Description |
|---|
BatchStepExecutionsController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.batch.admin.domain.StepExecutionInfoResource |
details(long jobExecutionId,
long stepExecutionId)
Inspect the StepExecution with the provided Step Execution Id
|
Collection<org.springframework.batch.admin.domain.StepExecutionInfoResource> |
list(long jobExecutionId)
List all step executions.
|
org.springframework.batch.admin.domain.StepExecutionProgressInfoResource |
progress(long jobExecutionId,
long stepExecutionId)
Get the step execution progress for the given jobExecutions step.
|
setTimeZone@RequestMapping(value="",
method=GET,
produces="application/json")
@ResponseStatus(value=OK)
public Collection<org.springframework.batch.admin.domain.StepExecutionInfoResource> list(@PathVariable(value="jobExecutionId")
long jobExecutionId)
throws org.springframework.batch.core.launch.NoSuchJobExecutionException
jobExecutionId - Id of the JobExecution, must not be nullStepExecutionInfoResource for the given jobExecutionIdorg.springframework.batch.core.launch.NoSuchJobExecutionException - Thrown if the respective JobExecution does not exist@RequestMapping(value="/{stepExecutionId}",
method=GET)
@ResponseStatus(value=OK)
public org.springframework.batch.admin.domain.StepExecutionInfoResource details(@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 nullStepExecutionInfoResource that has the details 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 exist@RequestMapping(value="/{stepExecutionId}/progress",
method=GET)
@ResponseStatus(value=OK)
public org.springframework.batch.admin.domain.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 nullStepExecutionInfoResource 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 © 2015. All rights reserved.