public interface WssServiceClient
| Modifier and Type | Method and Description |
|---|---|
CheckPoliciesResult |
checkPolicies(CheckPoliciesRequest request)
Deprecated.
|
CheckPolicyComplianceResult |
checkPolicyCompliance(CheckPolicyComplianceRequest request)
The method call the White Source service for checking policies application.
|
CheckVulnerabilitiesResult |
checkVulnerabilities(CheckVulnerabilitiesRequest request)
The method calls the White Source service for check vulnerabilities.
|
GetDependencyDataResult |
getDependencyData(GetDependencyDataRequest request)
The method call the White Source service for getting additional dependency data.
|
void |
setConnectionTimeout(int timeout)
The method adjust the connection timeout limit to White Source servers.
|
void |
setProxy(String host,
int port,
String username,
String password)
The method configure the client to use a proxy specified by the given parameters.
|
void |
shutdown() |
SummaryScanResult |
summaryScan(SummaryScanRequest request)
The method calls the White Source service for inventory update.
|
UpdateInventoryResult |
updateInventory(UpdateInventoryRequest request)
The method calls the White Source service for inventory update.
|
UpdateInventoryResult updateInventory(UpdateInventoryRequest request) throws WssServiceException
request - Inventory update request.WssServiceException - In case an error occurred during the call to White Source server.CheckPoliciesResult checkPolicies(CheckPoliciesRequest request) throws WssServiceException
checkPolicyCompliance(CheckPolicyComplianceRequest)request - Check Policies request.WssServiceException - In case an error occurred during the call to White Source server.CheckPolicyComplianceResult checkPolicyCompliance(CheckPolicyComplianceRequest request) throws WssServiceException
request - Check Policies request.WssServiceException - In case an error occurred during the call to White Source server.GetDependencyDataResult getDependencyData(GetDependencyDataRequest request) throws WssServiceException
request - Get Dependency Data request.WssServiceException - In case an error occurred during the call to White Source server.SummaryScanResult summaryScan(SummaryScanRequest request) throws WssServiceException
request - Inventory update request.WssServiceException - In case an error occurred during the call to White Source server.CheckVulnerabilitiesResult checkVulnerabilities(CheckVulnerabilitiesRequest request) throws WssServiceException
request - Check vulnerabilities request.WssServiceException - In case an error occurred during the call to White Source server.void shutdown()
void setProxy(String host, int port, String username, String password)
host - Proxy host address.port - Proxy port.username - Optional. Proxy username.password - Optional. Proxy password.void setConnectionTimeout(int timeout)
timeout - In milliseconds.Copyright © 2011-2018 White Source. All Rights Reserved.