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);
}
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);
}
Aggregations