Search in sources :

Example 1 with PipfileLockExtractor

use of com.synopsys.integration.detectable.detectables.pipenv.parse.PipfileLockExtractor in project synopsys-detect by blackducksoftware.

the class DetectableFactory method createPipfileLockDetectable.

public PipfileLockDetectable createPipfileLockDetectable(DetectableEnvironment environment, PipfileLockDetectableOptions pipfileLockDetectableOptions) {
    PipfileLockDependencyVersionParser dependencyVersionParser = new PipfileLockDependencyVersionParser();
    PipfileLockTransformer pipfileLockTransformer = new PipfileLockTransformer(dependencyVersionParser, pipfileLockDetectableOptions.getDependencyTypeFilter());
    PipfileLockDependencyTransformer pipfileLockDependencyTransformer = new PipfileLockDependencyTransformer();
    PipfileLockExtractor pipfileLockExtractor = new PipfileLockExtractor(gson, pipfileLockTransformer, pipfileLockDependencyTransformer);
    return new PipfileLockDetectable(environment, fileFinder, pipfileLockExtractor);
}
Also used : PipfileLockDependencyVersionParser(com.synopsys.integration.detectable.detectables.pipenv.parse.PipfileLockDependencyVersionParser) PipfileLockTransformer(com.synopsys.integration.detectable.detectables.pipenv.parse.PipfileLockTransformer) PipfileLockDetectable(com.synopsys.integration.detectable.detectables.pipenv.parse.PipfileLockDetectable) PipfileLockDependencyTransformer(com.synopsys.integration.detectable.detectables.pipenv.parse.PipfileLockDependencyTransformer) PipfileLockExtractor(com.synopsys.integration.detectable.detectables.pipenv.parse.PipfileLockExtractor)

Aggregations

PipfileLockDependencyTransformer (com.synopsys.integration.detectable.detectables.pipenv.parse.PipfileLockDependencyTransformer)1 PipfileLockDependencyVersionParser (com.synopsys.integration.detectable.detectables.pipenv.parse.PipfileLockDependencyVersionParser)1 PipfileLockDetectable (com.synopsys.integration.detectable.detectables.pipenv.parse.PipfileLockDetectable)1 PipfileLockExtractor (com.synopsys.integration.detectable.detectables.pipenv.parse.PipfileLockExtractor)1 PipfileLockTransformer (com.synopsys.integration.detectable.detectables.pipenv.parse.PipfileLockTransformer)1