class BatchToResourceMapper {

    static List<StepExecution> mapStepExecutions(final Collection<org.springframework.batch.core.StepExecution>
                                                         stepExecutions) {
        final List<StepExecution> response = new LinkedList<>();
        if (!stepExecutions.isEmpty()) {
            for (final org.springframework.batch.core.StepExecution stepExecution : stepExecutions) {
                response.add(map(stepExecution));
            }
        }
        return response;
    }

    private  BatchToResourceMapper();

}