class BPMFinderServiceImpl implements BPMFinderService {

    @Override
    public List<JBPMProcessModel> getAvailableProcessModels(final Path path) {

        return findModels(path, definitions -> true)
                .collect(Collectors.toList());
    }

    @Inject public  BPMFinderServiceImpl(@Named("ioStrategy") IOService ioService,
                                KieModuleService moduleService,
                                BPMNFormModelGenerator bpmnFormModelGenerator);

}