class BatchToResourceMapper {

    public static List<JobExecution> mapExecutions(final Collection<org.springframework.batch.core.JobExecution>
                                                           jobExecutions) {
        final List<JobExecution> response = new LinkedList<>();
        for (final org.springframework.batch.core.JobExecution jobExecution : jobExecutions) {
            response.add(map(jobExecution));
        }
        return response;
    }

    private  BatchToResourceMapper();

}