Search in sources :

Example 1 with PubSpecExtractor

use of com.synopsys.integration.detectable.detectables.dart.pubspec.PubSpecExtractor in project synopsys-detect by blackducksoftware.

the class DetectableFactory method createDartPubSpecLockDetectable.

public DartPubSpecLockDetectable createDartPubSpecLockDetectable(DetectableEnvironment environment) {
    PubSpecLockParser pubSpecLockParser = new PubSpecLockParser();
    PubSpecYamlNameVersionParser pubSpecYamlNameVersionParser = new PubSpecYamlNameVersionParser();
    PubSpecExtractor pubSpecExtractor = new PubSpecExtractor(pubSpecLockParser, pubSpecYamlNameVersionParser);
    return new DartPubSpecLockDetectable(environment, fileFinder, pubSpecExtractor);
}
Also used : PubSpecYamlNameVersionParser(com.synopsys.integration.detectable.detectables.dart.PubSpecYamlNameVersionParser) PubSpecExtractor(com.synopsys.integration.detectable.detectables.dart.pubspec.PubSpecExtractor) PubSpecLockParser(com.synopsys.integration.detectable.detectables.dart.pubspec.PubSpecLockParser) DartPubSpecLockDetectable(com.synopsys.integration.detectable.detectables.dart.pubspec.DartPubSpecLockDetectable)

Aggregations

PubSpecYamlNameVersionParser (com.synopsys.integration.detectable.detectables.dart.PubSpecYamlNameVersionParser)1 DartPubSpecLockDetectable (com.synopsys.integration.detectable.detectables.dart.pubspec.DartPubSpecLockDetectable)1 PubSpecExtractor (com.synopsys.integration.detectable.detectables.dart.pubspec.PubSpecExtractor)1 PubSpecLockParser (com.synopsys.integration.detectable.detectables.dart.pubspec.PubSpecLockParser)1