public class HttpScanApi extends BaseHttpApi implements ScanApi
apiKey, host, httpFactory, taskListener
Constructor and Description |
---|
HttpScanApi(TaskListener taskListener,
HttpFactory httpFactory,
String host,
char[] apiKey) |
Modifier and Type | Method and Description |
---|---|
void |
doScan(UUID applicationId,
UUID versionId)
Scans an application/version with the tools in that application/version
|
void |
doScan(UUID applicationId,
UUID versionId,
UUID toolkitId)
Scans an application/version with the tools in the toolkit
|
close, convertJsonToObject, doHttpGet
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public HttpScanApi(TaskListener taskListener, HttpFactory httpFactory, String host, char[] apiKey)
public void doScan(UUID applicationId, UUID versionId) throws ScanException
ScanApi
doScan
in interface ScanApi
applicationId
- The id of the application being scannedversionId
- The id of the version being scannedScanException
- if something goes wrong making a scanning requestpublic void doScan(UUID applicationId, UUID versionId, UUID toolkitId) throws ScanException
ScanApi
doScan
in interface ScanApi
applicationId
- The id of the application being scannedversionId
- The id of the version being scannedtoolkitId
- The id of the toolkitScanException
- if something goes wrong making a scanning requestCopyright © 2016–2022 Uleska. All rights reserved.