Class MultiProductLicenseDetailsImpl

  • All Implemented Interfaces:
    com.atlassian.sal.api.license.BaseLicenseDetails, com.atlassian.sal.api.license.MultiProductLicenseDetails

    public class MultiProductLicenseDetailsImpl
    extends BaseLicenseDetailsImpl
    implements com.atlassian.sal.api.license.MultiProductLicenseDetails
    This class is a wrapper on top of ConfluenceLicense with some additions
    Since:
    5.9.1
    See Also:
    BaseLicenseDetailsImpl, SingleProductDetailsViewImpl
    • Constructor Detail

      • MultiProductLicenseDetailsImpl

        public MultiProductLicenseDetailsImpl​(@NonNull com.atlassian.extras.api.confluence.ConfluenceLicense confluenceLicense)
    • Method Detail

      • getProductLicenses

        public @NonNull Set<com.atlassian.sal.api.license.ProductLicense> getProductLicenses()
        Specified by:
        getProductLicenses in interface com.atlassian.sal.api.license.MultiProductLicenseDetails
      • getEmbeddedLicenses

        public @NonNull Set<com.atlassian.sal.api.license.ProductLicense> getEmbeddedLicenses()
        Specified by:
        getEmbeddedLicenses in interface com.atlassian.sal.api.license.MultiProductLicenseDetails
      • getProductLicense

        public @Nullable com.atlassian.sal.api.license.ProductLicense getProductLicense​(@NonNull String productKey)
        Specified by:
        getProductLicense in interface com.atlassian.sal.api.license.MultiProductLicenseDetails