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