Package org.springframework.xd.dirt.job

Examples of org.springframework.xd.dirt.job.StepExecutionInfo


    final Collection<StepExecutionInfoResource> result = new ArrayList<StepExecutionInfoResource>();

    for (StepExecution stepExecution : stepExecutions) {
      // Band-Aid to prevent Hateos crash - see XD-1206
      if (stepExecution.getId() != null) {
        result.add(stepExecutionInfoResourceAssembler.toResource(new StepExecutionInfo(stepExecution, timeZone)));
      }
    }

    return result;
  }
View Full Code Here


  @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);
    }
View Full Code Here

TOP

Related Classes of org.springframework.xd.dirt.job.StepExecutionInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.