class DefaultAdminService implements AdminService {

    @Override
    public Collection<JobConfiguration> getJobConfigurations(final Collection<String> jobNames) {
        Collection<JobConfiguration> allJobConfigurationsByJobNames = this.jobConfigurationRepository.getAllJobConfigurationsByJobNames(jobNames,
                this.springBatchLightminCoreConfigurationProperties.getApplicationName());
        allJobConfigurationsByJobNames = allJobConfigurationsByJobNames.stream().filter(DefaultAdminService::validateJobConfiguration).collect(Collectors.toCollection(LinkedList::new));
        return allJobConfigurationsByJobNames;
    }

    public  DefaultAdminService(final JobConfigurationRepository jobConfigurationRepository,
                               final SchedulerService schedulerService,
                               final ListenerService listenerService,
                               final SpringBatchLightminCoreConfigurationProperties springBatchLightminCoreConfigurationProperties
    );

}