Search in sources :

Example 1 with PackageResolvedExtractor

use of com.synopsys.integration.detectable.detectables.swift.lock.PackageResolvedExtractor in project synopsys-detect by blackducksoftware.

the class DetectableFactory method createPackageResolvedExtractor.

// Used by three Detectables
private PackageResolvedExtractor createPackageResolvedExtractor() {
    PackageResolvedParser parser = new PackageResolvedParser(gson);
    PackageResolvedFormatChecker formatChecker = new PackageResolvedFormatChecker();
    PackageResolvedTransformer transformer = new PackageResolvedTransformer();
    return new PackageResolvedExtractor(parser, formatChecker, transformer);
}
Also used : PackageResolvedTransformer(com.synopsys.integration.detectable.detectables.swift.lock.transform.PackageResolvedTransformer) PackageResolvedFormatChecker(com.synopsys.integration.detectable.detectables.swift.lock.parse.PackageResolvedFormatChecker) PackageResolvedParser(com.synopsys.integration.detectable.detectables.swift.lock.parse.PackageResolvedParser) PackageResolvedExtractor(com.synopsys.integration.detectable.detectables.swift.lock.PackageResolvedExtractor)

Example 2 with PackageResolvedExtractor

use of com.synopsys.integration.detectable.detectables.swift.lock.PackageResolvedExtractor in project synopsys-detect by blackducksoftware.

the class DetectableFactory method createXcodeWorkspaceDetectable.

public XcodeWorkspaceDetectable createXcodeWorkspaceDetectable(DetectableEnvironment environment) {
    PackageResolvedExtractor packageResolvedExtractor = createPackageResolvedExtractor();
    XcodeWorkspaceParser xcodeWorkspaceParser = new XcodeWorkspaceParser();
    XcodeWorkspaceFormatChecker xcodeWorkspaceFormatChecker = new XcodeWorkspaceFormatChecker();
    XcodeWorkspaceExtractor xcodeWorkspaceExtractor = new XcodeWorkspaceExtractor(xcodeWorkspaceParser, xcodeWorkspaceFormatChecker, packageResolvedExtractor, fileFinder);
    return new XcodeWorkspaceDetectable(environment, fileFinder, packageResolvedExtractor, xcodeWorkspaceExtractor);
}
Also used : XcodeWorkspaceDetectable(com.synopsys.integration.detectable.detectables.xcode.XcodeWorkspaceDetectable) XcodeWorkspaceParser(com.synopsys.integration.detectable.detectables.xcode.parse.XcodeWorkspaceParser) PackageResolvedExtractor(com.synopsys.integration.detectable.detectables.swift.lock.PackageResolvedExtractor) XcodeWorkspaceFormatChecker(com.synopsys.integration.detectable.detectables.xcode.parse.XcodeWorkspaceFormatChecker) XcodeWorkspaceExtractor(com.synopsys.integration.detectable.detectables.xcode.XcodeWorkspaceExtractor)

Aggregations

PackageResolvedExtractor (com.synopsys.integration.detectable.detectables.swift.lock.PackageResolvedExtractor)2 PackageResolvedFormatChecker (com.synopsys.integration.detectable.detectables.swift.lock.parse.PackageResolvedFormatChecker)1 PackageResolvedParser (com.synopsys.integration.detectable.detectables.swift.lock.parse.PackageResolvedParser)1 PackageResolvedTransformer (com.synopsys.integration.detectable.detectables.swift.lock.transform.PackageResolvedTransformer)1 XcodeWorkspaceDetectable (com.synopsys.integration.detectable.detectables.xcode.XcodeWorkspaceDetectable)1 XcodeWorkspaceExtractor (com.synopsys.integration.detectable.detectables.xcode.XcodeWorkspaceExtractor)1 XcodeWorkspaceFormatChecker (com.synopsys.integration.detectable.detectables.xcode.parse.XcodeWorkspaceFormatChecker)1 XcodeWorkspaceParser (com.synopsys.integration.detectable.detectables.xcode.parse.XcodeWorkspaceParser)1