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