use of com.synopsys.integration.detectable.detectables.pipenv.parse.PipfileLockDetectable 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);
}
Aggregations