use of com.synopsys.integration.detectable.detectables.conan.lockfile.ConanLockfileExtractorOptions in project synopsys-detect by blackducksoftware.
the class DetectableOptionFactory method createConanLockfileOptions.
public ConanLockfileExtractorOptions createConanLockfileOptions() {
Path lockfilePath = detectConfiguration.getPathOrNull(DetectProperties.DETECT_CONAN_LOCKFILE_PATH);
Boolean preferLongFormExternalIds = detectConfiguration.getValue(DetectProperties.DETECT_CONAN_REQUIRE_PREV_MATCH);
EnumListFilter<ConanDependencyType> dependencyTypeFilter = createConanDependencyTypeFilter();
return new ConanLockfileExtractorOptions(lockfilePath, dependencyTypeFilter, preferLongFormExternalIds);
}
Aggregations