use of com.synopsys.integration.blackduck.api.core.BlackDuckPath in project blackduck-common by blackducksoftware.
the class CodeLocationService method getCodeLocationById.
public CodeLocationView getCodeLocationById(String codeLocationId) throws IntegrationException {
BlackDuckPath blackDuckPath = new BlackDuckPath(ApiDiscovery.CODELOCATIONS_PATH.getPath() + "/" + codeLocationId, CodeLocationView.class, false);
UrlSingleResponse<CodeLocationView> codeLocationResponse = apiDiscovery.metaSingleResponse(blackDuckPath);
return blackDuckApiClient.getResponse(codeLocationResponse);
}
Aggregations