Search in sources :

Example 1 with SignatureScanOuputResult

use of com.synopsys.integration.detect.tool.signaturescanner.operation.SignatureScanOuputResult in project synopsys-detect by blackducksoftware.

the class SignatureScanStepRunner method executeScan.

private List<SignatureScannerReport> executeScan(ScanBatch scanBatch, ScanBatchRunner scanBatchRunner, List<SignatureScanPath> scanPaths) throws OperationException {
    SignatureScanOuputResult scanOuputResult = operationFactory.signatureScan(scanBatch, scanBatchRunner);
    List<SignatureScannerReport> reports = operationFactory.createSignatureScanReport(scanPaths, scanOuputResult.getScanBatchOutput().getOutputs());
    operationFactory.publishSignatureScanReport(reports);
    return reports;
}
Also used : SignatureScanOuputResult(com.synopsys.integration.detect.tool.signaturescanner.operation.SignatureScanOuputResult) SignatureScannerReport(com.synopsys.integration.detect.tool.signaturescanner.SignatureScannerReport)

Aggregations

SignatureScannerReport (com.synopsys.integration.detect.tool.signaturescanner.SignatureScannerReport)1 SignatureScanOuputResult (com.synopsys.integration.detect.tool.signaturescanner.operation.SignatureScanOuputResult)1