use of com.synopsys.integration.detect.workflow.blackduck.codelocation.CodeLocationWaitData in project synopsys-detect by blackducksoftware.
the class IntelligentModeStepRunner method calculateCodeLocations.
public CodeLocationResults calculateCodeLocations(CodeLocationAccumulator codeLocationAccumulator) throws OperationException {
// this is waiting....
logger.info(ReportConstants.RUN_SEPARATOR);
Set<String> allCodeLocationNames = new HashSet<>(codeLocationAccumulator.getNonWaitableCodeLocations());
CodeLocationWaitData waitData = operationFactory.calulcateCodeLocationWaitData(codeLocationAccumulator.getWaitableCodeLocations());
allCodeLocationNames.addAll(waitData.getCodeLocationNames());
operationFactory.publishCodeLocationNames(allCodeLocationNames);
return new CodeLocationResults(allCodeLocationNames, waitData);
}
Aggregations