Search in sources :

Example 1 with PackagistParser

use of com.synopsys.integration.detectable.detectables.packagist.parse.PackagistParser in project synopsys-detect by blackducksoftware.

the class DetectableFactory method createComposerDetectable.

public ComposerLockDetectable createComposerDetectable(DetectableEnvironment environment, ComposerLockDetectableOptions composerLockDetectableOptions) {
    PackagistParser packagistParser = new PackagistParser(externalIdFactory, composerLockDetectableOptions.getDependencyTypeFilter());
    ComposerLockExtractor composerLockExtractor = new ComposerLockExtractor(packagistParser);
    return new ComposerLockDetectable(environment, fileFinder, composerLockExtractor);
}
Also used : PackagistParser(com.synopsys.integration.detectable.detectables.packagist.parse.PackagistParser) ComposerLockExtractor(com.synopsys.integration.detectable.detectables.packagist.ComposerLockExtractor) ComposerLockDetectable(com.synopsys.integration.detectable.detectables.packagist.ComposerLockDetectable)

Aggregations

ComposerLockDetectable (com.synopsys.integration.detectable.detectables.packagist.ComposerLockDetectable)1 ComposerLockExtractor (com.synopsys.integration.detectable.detectables.packagist.ComposerLockExtractor)1 PackagistParser (com.synopsys.integration.detectable.detectables.packagist.parse.PackagistParser)1