Search in sources :

Example 1 with ConanLockfileExtractorOptions

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);
}
Also used : Path(java.nio.file.Path) ConanLockfileExtractorOptions(com.synopsys.integration.detectable.detectables.conan.lockfile.ConanLockfileExtractorOptions) ConanDependencyType(com.synopsys.integration.detectable.detectables.conan.cli.config.ConanDependencyType)

Aggregations

ConanDependencyType (com.synopsys.integration.detectable.detectables.conan.cli.config.ConanDependencyType)1 ConanLockfileExtractorOptions (com.synopsys.integration.detectable.detectables.conan.lockfile.ConanLockfileExtractorOptions)1 Path (java.nio.file.Path)1