use of com.synopsys.integration.detect.workflow.blackduck.developer.blackduck.DetectRapidScanWaitJob in project synopsys-detect by blackducksoftware.
the class RapidModeWaitOperation method waitForScans.
public List<DeveloperScanComponentResultView> waitForScans(List<HttpUrl> uploadedScans, long timeoutInSeconds, int waitIntervalInSeconds) throws IntegrationException, InterruptedException {
ResilientJobConfig waitJobConfig = new ResilientJobConfig(new Slf4jIntLogger(logger), timeoutInSeconds, System.currentTimeMillis(), waitIntervalInSeconds);
DetectRapidScanWaitJob waitJob = new DetectRapidScanWaitJob(blackDuckApiClient, uploadedScans);
ResilientJobExecutor jobExecutor = new ResilientJobExecutor(waitJobConfig);
return jobExecutor.executeJob(waitJob);
}
Aggregations