use of com.synopsys.integration.blackduck.codelocation.CodeLocationCreationData in project hub-detect by blackducksoftware.
the class OnlineBlackDuckSignatureScanner method performOnlineScan.
public CodeLocationCreationData<ScanBatchOutput> performOnlineScan(NameVersion projectNameVersion, File installDirectory, File dockerTarFile) throws InterruptedException, IntegrationException, DetectUserFriendlyException, IOException {
NotificationTaskRange notificationTaskRange = codeLocationCreationService.calculateCodeLocationRange();
ScanBatchOutput scanBatchOutput = performScanActions(projectNameVersion, installDirectory, dockerTarFile);
CodeLocationCreationData<ScanBatchOutput> creationData = new CodeLocationCreationData<>(notificationTaskRange, scanBatchOutput);
return creationData;
}
Aggregations