return result.getResults();
}
@Override
protected ModuleVersionQuery getModuleVersionQuery(String name, String version, ModuleQuery.Type type, Integer binaryMajor, Integer binaryMinor) {
ModuleVersionQuery query = super.getModuleVersionQuery(name, version, type, binaryMajor, binaryMinor);
if (findMember != null) {
query.setMemberName(findMember);
}
if (findPackage != null) {
query.setMemberName(findPackage);
query.setMemberSearchPackageOnly(true);
}
query.setMemberSearchExact(exactMatch);
if (requireAll) {
query.setRetrieval(ModuleQuery.Retrieval.ALL);
}
return query;
}