Class LicenseService
- java.lang.Object
-
- com.synopsys.integration.blackduck.service.DataService
-
- com.synopsys.integration.blackduck.service.dataservice.LicenseService
-
public class LicenseService extends DataService
-
-
Field Summary
-
Fields inherited from class com.synopsys.integration.blackduck.service.DataService
blackDuckApiClient, blackDuckRequestFactory, logger
-
-
Constructor Summary
Constructors Constructor Description LicenseService(BlackDuckApiClient blackDuckApiClient, BlackDuckRequestFactory blackDuckRequestFactory, com.synopsys.integration.log.IntLogger logger, ComponentService componentDataService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.synopsys.integration.blackduck.api.generated.view.ComponentVersionLicenseView>getComplexLicenseItemFromComponent(com.synopsys.integration.bdio.model.externalid.ExternalId externalId)java.lang.StringgetLicenseText(com.synopsys.integration.blackduck.api.generated.view.LicenseView licenseView)com.synopsys.integration.blackduck.api.generated.view.LicenseViewgetLicenseView(com.synopsys.integration.blackduck.api.generated.view.ComponentVersionLicenseLicensesView componentVersionLicenseLicensesView)com.synopsys.integration.blackduck.api.generated.view.LicenseViewgetLicenseView(com.synopsys.integration.blackduck.api.manual.temporary.component.VersionBomLicenseView versionBomLicenseView)com.synopsys.integration.blackduck.api.generated.view.LicenseViewgetLicenseView(com.synopsys.integration.rest.HttpUrl licenseUrl)
-
-
-
Constructor Detail
-
LicenseService
public LicenseService(BlackDuckApiClient blackDuckApiClient, BlackDuckRequestFactory blackDuckRequestFactory, com.synopsys.integration.log.IntLogger logger, ComponentService componentDataService)
-
-
Method Detail
-
getComplexLicenseItemFromComponent
public java.util.Optional<com.synopsys.integration.blackduck.api.generated.view.ComponentVersionLicenseView> getComplexLicenseItemFromComponent(com.synopsys.integration.bdio.model.externalid.ExternalId externalId) throws com.synopsys.integration.exception.IntegrationException- Throws:
com.synopsys.integration.exception.IntegrationException
-
getLicenseView
public com.synopsys.integration.blackduck.api.generated.view.LicenseView getLicenseView(com.synopsys.integration.blackduck.api.manual.temporary.component.VersionBomLicenseView versionBomLicenseView) throws com.synopsys.integration.exception.IntegrationException- Throws:
com.synopsys.integration.exception.IntegrationException
-
getLicenseView
public com.synopsys.integration.blackduck.api.generated.view.LicenseView getLicenseView(com.synopsys.integration.blackduck.api.generated.view.ComponentVersionLicenseLicensesView componentVersionLicenseLicensesView) throws com.synopsys.integration.exception.IntegrationException- Throws:
com.synopsys.integration.exception.IntegrationException
-
getLicenseView
public com.synopsys.integration.blackduck.api.generated.view.LicenseView getLicenseView(com.synopsys.integration.rest.HttpUrl licenseUrl) throws com.synopsys.integration.exception.IntegrationException- Throws:
com.synopsys.integration.exception.IntegrationException
-
getLicenseText
public java.lang.String getLicenseText(com.synopsys.integration.blackduck.api.generated.view.LicenseView licenseView) throws com.synopsys.integration.exception.IntegrationException- Throws:
com.synopsys.integration.exception.IntegrationException
-
-