* @param stepExecution the step execution
* @param jobExecution the job execution
* @return the step execution type
*/
public static StepExecutionType convertStepExecutionType(StepExecution stepExecution, JobExecution jobExecution) {
StepExecutionType type = new StepExecutionType();
type.id = stepExecution.getId();
type.version = stepExecution.getVersion();
type.stepName = stepExecution.getStepName();
type.jobExecution = convertJobExecutionType(stepExecution.getJobExecution(), stepExecution);