response.version = stepExecution.getVersion();
return response;
}
private BaseResponseObject handleGetStepExecutionCountReq(GetStepExecutionCountReq request) {
GetStepExecutionCountRes response = null;
JobInstance jobInstance = JobRepositoryRpcFactory.convertJobInstanceType(request.jobInstance);
int stepExecutionCount = jobRepository.getStepExecutionCount(jobInstance, request.stepName);
response = new GetStepExecutionCountRes();
response.count = stepExecutionCount;
return response;
}