@Service public class CxOsaService extends Object implements CxOsaClient
| Constructor and Description |
|---|
CxOsaService(CxProperties cxProperties) |
| Modifier and Type | Method and Description |
|---|---|
String |
createScan(Integer projectId,
String sourceDir) |
ScanResults |
createScanAndReport(Integer projectId,
String sourceDir,
ScanResults results,
List<Filter> filter) |
ScanResults |
getLatestOsaResults(Integer projectId,
ScanResults results,
List<Filter> filter) |
ScanResults |
waitForOsaScan(String scanId,
Integer projectId,
ScanResults results,
List<Filter> filter) |
public CxOsaService(CxProperties cxProperties)
public ScanResults createScanAndReport(Integer projectId, String sourceDir, ScanResults results, List<Filter> filter) throws CheckmarxException
createScanAndReport in interface CxOsaClientCheckmarxExceptionpublic String createScan(Integer projectId, String sourceDir) throws CheckmarxException
createScan in interface CxOsaClientCheckmarxExceptionpublic ScanResults waitForOsaScan(String scanId, Integer projectId, ScanResults results, List<Filter> filter) throws CheckmarxException
waitForOsaScan in interface CxOsaClientCheckmarxExceptionpublic ScanResults getLatestOsaResults(Integer projectId, ScanResults results, List<Filter> filter) throws CheckmarxException
getLatestOsaResults in interface CxOsaClientCheckmarxExceptionCopyright © 2020. All rights reserved.