matchingJobDefinitions = query.list();
}
List<JobDefinitionDto> jobDefinitionResults = new ArrayList<JobDefinitionDto>();
for (JobDefinition jobDefinition : matchingJobDefinitions) {
JobDefinitionDto result = JobDefinitionDto.fromJobDefinition(jobDefinition);
jobDefinitionResults.add(result);
}
return jobDefinitionResults;
}