Search in sources :

Example 1 with PearCliExtractor

use of com.synopsys.integration.detectable.detectables.pear.PearCliExtractor 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);
}
Also used : PearListParser(com.synopsys.integration.detectable.detectables.pear.parse.PearListParser) PearCliDetectable(com.synopsys.integration.detectable.detectables.pear.PearCliDetectable) PearDependencyGraphTransformer(com.synopsys.integration.detectable.detectables.pear.transform.PearDependencyGraphTransformer) PearPackageXmlParser(com.synopsys.integration.detectable.detectables.pear.parse.PearPackageXmlParser) PearPackageDependenciesParser(com.synopsys.integration.detectable.detectables.pear.parse.PearPackageDependenciesParser) PearCliExtractor(com.synopsys.integration.detectable.detectables.pear.PearCliExtractor)

Aggregations

PearCliDetectable (com.synopsys.integration.detectable.detectables.pear.PearCliDetectable)1 PearCliExtractor (com.synopsys.integration.detectable.detectables.pear.PearCliExtractor)1 PearListParser (com.synopsys.integration.detectable.detectables.pear.parse.PearListParser)1 PearPackageDependenciesParser (com.synopsys.integration.detectable.detectables.pear.parse.PearPackageDependenciesParser)1 PearPackageXmlParser (com.synopsys.integration.detectable.detectables.pear.parse.PearPackageXmlParser)1 PearDependencyGraphTransformer (com.synopsys.integration.detectable.detectables.pear.transform.PearDependencyGraphTransformer)1