@RequestMapping(value = "/{stepExecutionId}", method = RequestMethod.GET)
	@ResponseStatus(HttpStatus.OK)
	public StepExecutionInfoResource details(@PathVariable long jobExecutionId,
			@PathVariable long stepExecutionId) {
		try {
			StepExecution stepExecution = jobService.getStepExecution(jobExecutionId, stepExecutionId);
			return this.stepExecutionInfoResourceAssembler.toResource(new StepExecutionInfo(stepExecution,
					this.timeZone));
		}
		catch (org.springframework.batch.admin.service.NoSuchStepExecutionException e) {
			throw new NoSuchStepExecutionException(stepExecutionId);
		}
		catch (org.springframework.batch.core.launch.NoSuchJobExecutionException e) {
			throw new NoSuchJobExecutionException(jobExecutionId);
		}
	}
Inspect the StepExecution with the provided Step Execution Id

@param jobExecutionId Id of the {@link JobExecution}, must not be null
@param stepExecutionId Id of the {@link StepExecution}, must not be null
@return {@link StepExecutionInfoResource} that has the details on the given {@link StepExecution}.
@throws NoSuchJobExecutionException Thrown if the respective {@link JobExecution} does not exist
@throws NoSuchStepExecutionException Thrown if the respective {@link StepExecution} does not exist
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/rest/BatchStepExecutionsController.java