Class ProjectGetService
- java.lang.Object
-
- com.synopsys.integration.blackduck.service.DataService
-
- com.synopsys.integration.blackduck.service.dataservice.ProjectGetService
-
public class ProjectGetService extends DataService
-
-
Field Summary
-
Fields inherited from class com.synopsys.integration.blackduck.service.DataService
blackDuckApiClient, blackDuckRequestFactory, logger
-
-
Constructor Summary
Constructors Constructor Description ProjectGetService(BlackDuckApiClient blackDuckApiClient, BlackDuckRequestFactory blackDuckRequestFactory, com.synopsys.integration.log.IntLogger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<com.synopsys.integration.blackduck.api.generated.view.ProjectView>getAllProjectMatches(java.lang.String projectName)java.util.List<com.synopsys.integration.blackduck.api.generated.view.ProjectView>getProjectMatches(java.lang.String projectName, int limit)java.util.Optional<com.synopsys.integration.blackduck.api.generated.view.ProjectVersionView>getProjectVersionViewByProjectVersionName(com.synopsys.integration.blackduck.api.generated.view.ProjectView projectView, java.lang.String projectVersionName)java.util.Optional<com.synopsys.integration.blackduck.api.generated.view.ProjectView>getProjectViewByProjectName(java.lang.String projectName)
-
-
-
Constructor Detail
-
ProjectGetService
public ProjectGetService(BlackDuckApiClient blackDuckApiClient, BlackDuckRequestFactory blackDuckRequestFactory, com.synopsys.integration.log.IntLogger logger)
-
-
Method Detail
-
getAllProjectMatches
public java.util.List<com.synopsys.integration.blackduck.api.generated.view.ProjectView> getAllProjectMatches(java.lang.String projectName) throws com.synopsys.integration.exception.IntegrationException- Throws:
com.synopsys.integration.exception.IntegrationException
-
getProjectMatches
public java.util.List<com.synopsys.integration.blackduck.api.generated.view.ProjectView> getProjectMatches(java.lang.String projectName, int limit) throws com.synopsys.integration.exception.IntegrationException- Throws:
com.synopsys.integration.exception.IntegrationException
-
getProjectViewByProjectName
public java.util.Optional<com.synopsys.integration.blackduck.api.generated.view.ProjectView> getProjectViewByProjectName(java.lang.String projectName) throws com.synopsys.integration.exception.IntegrationException- Throws:
com.synopsys.integration.exception.IntegrationException
-
getProjectVersionViewByProjectVersionName
public java.util.Optional<com.synopsys.integration.blackduck.api.generated.view.ProjectVersionView> getProjectVersionViewByProjectVersionName(com.synopsys.integration.blackduck.api.generated.view.ProjectView projectView, java.lang.String projectVersionName) throws com.synopsys.integration.exception.IntegrationException- Throws:
com.synopsys.integration.exception.IntegrationException
-
-