Example usage for org.springframework.batch.core StepExecution getId

List of usage examples for org.springframework.batch.core StepExecution getId

Introduction

In this page you can find the example usage for org.springframework.batch.core StepExecution getId.

Prototype

public Long getId() 

Source Link

Usage

From source file:org.springframework.yarn.batch.repository.JobRepositoryService.java

private BaseResponseObject handleUpdateWithStepExecutionReq(UpdateWithStepExecutionReq request) {
    UpdateWithStepExecutionRes response = null;
    StepExecution stepExecution = JobRepositoryRpcFactory.convertStepExecutionType(request.stepExecution);
    jobRepository.update(stepExecution);
    response = new UpdateWithStepExecutionRes();
    response.id = stepExecution.getId();
    response.version = stepExecution.getVersion();
    return response;
}