use of com.synopsys.integration.detectable.detectables.pear.PearCliDetectable in project synopsys-detect by blackducksoftware.
the class DetectableFactory method createPearCliDetectable.
public PearCliDetectable createPearCliDetectable(DetectableEnvironment environment, PearCliDetectableOptions pearCliDetectableOptions, PearResolver pearResolver) {
PearDependencyGraphTransformer pearDependencyGraphTransformer = new PearDependencyGraphTransformer(externalIdFactory, pearCliDetectableOptions.getDependencyTypeFilter());
PearPackageXmlParser pearPackageXmlParser = new PearPackageXmlParser();
PearPackageDependenciesParser pearPackageDependenciesParser = new PearPackageDependenciesParser();
PearListParser pearListParser = new PearListParser();
PearCliExtractor pearCliExtractor = new PearCliExtractor(externalIdFactory, executableRunner, pearDependencyGraphTransformer, pearPackageXmlParser, pearPackageDependenciesParser, pearListParser);
return new PearCliDetectable(environment, fileFinder, pearResolver, pearCliExtractor);
}
Aggregations