use of com.synopsys.integration.blackduck.codelocation.signaturescanner.command.ScannerInstaller in project blackduck-common by blackducksoftware.
the class ScanBatchRunner method createDefault.
public static ScanBatchRunner createDefault(IntLogger logger, BlackDuckHttpClient blackDuckHttpClient, BlackDuckRegistrationService blackDuckRegistrationService, IntEnvironmentVariables intEnvironmentVariables, ScanPathsUtility scanPathsUtility, OperatingSystemType operatingSystemType, ScanCommandRunner scanCommandRunner, File signatureScannerInstallDirectory) {
CleanupZipExpander cleanupZipExpander = new CleanupZipExpander(logger);
SignatureScannerClient signatureScannerClient = new SignatureScannerClient(blackDuckHttpClient);
KeyStoreHelper keyStoreHelper = new KeyStoreHelper(logger);
ScannerInstaller scannerZipInstaller = new ScannerZipInstaller(logger, signatureScannerClient, blackDuckRegistrationService, cleanupZipExpander, scanPathsUtility, keyStoreHelper, blackDuckHttpClient.getBlackDuckUrl(), operatingSystemType, signatureScannerInstallDirectory);
return new ScanBatchRunner(intEnvironmentVariables, scanPathsUtility, scanCommandRunner, scannerZipInstaller);
}
Aggregations