Search in sources :

Example 1 with ConanLockfileExtractor

use of com.synopsys.integration.detectable.detectables.conan.lockfile.ConanLockfileExtractor in project synopsys-detect by blackducksoftware.

the class DetectableFactory method conanLockfileExtractor.

private ConanLockfileExtractor conanLockfileExtractor(ConanLockfileExtractorOptions options) {
    ConanCodeLocationGenerator conanCodeLocationGenerator = new ConanCodeLocationGenerator(options.getDependencyTypeFilter(), options.preferLongFormExternalIds());
    ConanLockfileParser conanLockfileParser = new ConanLockfileParser(gson, conanCodeLocationGenerator, externalIdFactory);
    return new ConanLockfileExtractor(conanLockfileParser);
}
Also used : ConanCodeLocationGenerator(com.synopsys.integration.detectable.detectables.conan.ConanCodeLocationGenerator) ConanLockfileExtractor(com.synopsys.integration.detectable.detectables.conan.lockfile.ConanLockfileExtractor) ConanLockfileParser(com.synopsys.integration.detectable.detectables.conan.lockfile.parser.ConanLockfileParser)

Aggregations

ConanCodeLocationGenerator (com.synopsys.integration.detectable.detectables.conan.ConanCodeLocationGenerator)1 ConanLockfileExtractor (com.synopsys.integration.detectable.detectables.conan.lockfile.ConanLockfileExtractor)1 ConanLockfileParser (com.synopsys.integration.detectable.detectables.conan.lockfile.parser.ConanLockfileParser)1