Search in sources :

Example 1 with ScannerInstaller

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);
}
Also used : KeyStoreHelper(com.synopsys.integration.blackduck.keystore.KeyStoreHelper) ScannerInstaller(com.synopsys.integration.blackduck.codelocation.signaturescanner.command.ScannerInstaller) ExistingScannerInstaller(com.synopsys.integration.blackduck.codelocation.signaturescanner.command.ExistingScannerInstaller) ScannerZipInstaller(com.synopsys.integration.blackduck.codelocation.signaturescanner.command.ScannerZipInstaller) SignatureScannerClient(com.synopsys.integration.blackduck.http.client.SignatureScannerClient) CleanupZipExpander(com.synopsys.integration.util.CleanupZipExpander)

Aggregations

ExistingScannerInstaller (com.synopsys.integration.blackduck.codelocation.signaturescanner.command.ExistingScannerInstaller)1 ScannerInstaller (com.synopsys.integration.blackduck.codelocation.signaturescanner.command.ScannerInstaller)1 ScannerZipInstaller (com.synopsys.integration.blackduck.codelocation.signaturescanner.command.ScannerZipInstaller)1 SignatureScannerClient (com.synopsys.integration.blackduck.http.client.SignatureScannerClient)1 KeyStoreHelper (com.synopsys.integration.blackduck.keystore.KeyStoreHelper)1 CleanupZipExpander (com.synopsys.integration.util.CleanupZipExpander)1