Search in sources :

Example 1 with RapidModeUploadOperation

use of com.synopsys.integration.detect.workflow.blackduck.developer.RapidModeUploadOperation in project synopsys-detect by blackducksoftware.

the class OperationFactory method performRapidUpload.

// Rapid
public final List<HttpUrl> performRapidUpload(BlackDuckRunData blackDuckRunData, BdioResult bdioResult, @Nullable File rapidScanConfig) throws OperationException {
    return auditLog.namedInternal("Rapid Upload", () -> {
        BlackDuckServicesFactory blackDuckServicesFactory = blackDuckRunData.getBlackDuckServicesFactory();
        RapidScanOptions rapidScanOptions = detectConfigurationFactory.createRapidScanOptions();
        RapidModeUploadOperation operation = new RapidModeUploadOperation(DetectRapidScanService.fromBlackDuckServicesFactory(directoryManager, blackDuckServicesFactory));
        return operation.run(bdioResult, rapidScanOptions, rapidScanConfig);
    });
}
Also used : RapidScanOptions(com.synopsys.integration.detect.workflow.blackduck.developer.RapidScanOptions) RapidModeUploadOperation(com.synopsys.integration.detect.workflow.blackduck.developer.RapidModeUploadOperation) BlackDuckServicesFactory(com.synopsys.integration.blackduck.service.BlackDuckServicesFactory)

Aggregations

BlackDuckServicesFactory (com.synopsys.integration.blackduck.service.BlackDuckServicesFactory)1 RapidModeUploadOperation (com.synopsys.integration.detect.workflow.blackduck.developer.RapidModeUploadOperation)1 RapidScanOptions (com.synopsys.integration.detect.workflow.blackduck.developer.RapidScanOptions)1