Examples of AddWithStepExecutionReq


Examples of org.springframework.yarn.batch.repository.bindings.repo.AddWithStepExecutionReq

    req.jobExecution = JobRepositoryRpcFactory.convertJobExecutionType(jobExecution);
    return req;
  }

  public static AddWithStepExecutionReq buildAddWithStepExecutionReq(StepExecution stepExecution) {
    AddWithStepExecutionReq req = new AddWithStepExecutionReq();
    req.stepExecution = JobRepositoryRpcFactory.convertStepExecutionType(stepExecution);
    return req;
  }
View Full Code Here

Examples of org.springframework.yarn.batch.repository.bindings.repo.AddWithStepExecutionReq

  @Override
  public void add(StepExecution stepExecution) {

    try {
      AddWithStepExecutionReq request = JobRepositoryRpcFactory.buildAddWithStepExecutionReq(stepExecution);
      AddWithStepExecutionRes response = (AddWithStepExecutionRes) getAppmasterScOperations().doMindRequest(request);
      stepExecution.setId(response.getId());
      stepExecution.setVersion(response.getVersion());
    } catch (Exception e) {
      throw convertException(e);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.