Class BaseLicenseDetailsImpl

java.lang.Object
com.atlassian.sal.confluence.license.BaseLicenseDetailsImpl
All Implemented Interfaces:
com.atlassian.sal.api.license.BaseLicenseDetails
Direct Known Subclasses:
MultiProductLicenseDetailsImpl, SingleProductDetailsViewImpl

public class BaseLicenseDetailsImpl extends Object implements com.atlassian.sal.api.license.BaseLicenseDetails
This class is a wrapper on top of ConfluenceLicense which implements BaseLicenseDetails
Since:
5.9.1
See Also:
  • BaseLicenseDetails
  • Constructor Details

    • BaseLicenseDetailsImpl

      public BaseLicenseDetailsImpl(@NonNull com.atlassian.extras.api.confluence.ConfluenceLicense confluenceLicense)
  • Method Details

    • getConfluenceLicense

      protected com.atlassian.extras.api.confluence.ConfluenceLicense getConfluenceLicense()
    • isEvaluationLicense

      public boolean isEvaluationLicense()
      Specified by:
      isEvaluationLicense in interface com.atlassian.sal.api.license.BaseLicenseDetails
    • getLicenseTypeName

      public @NonNull String getLicenseTypeName()
      Specified by:
      getLicenseTypeName in interface com.atlassian.sal.api.license.BaseLicenseDetails
    • getOrganisationName

      public String getOrganisationName()
      Specified by:
      getOrganisationName in interface com.atlassian.sal.api.license.BaseLicenseDetails
    • getSupportEntitlementNumber

      public @Nullable String getSupportEntitlementNumber()
      Specified by:
      getSupportEntitlementNumber in interface com.atlassian.sal.api.license.BaseLicenseDetails
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface com.atlassian.sal.api.license.BaseLicenseDetails
    • getServerId

      public String getServerId()
      Specified by:
      getServerId in interface com.atlassian.sal.api.license.BaseLicenseDetails
    • isPerpetualLicense

      public boolean isPerpetualLicense()
      Specified by:
      isPerpetualLicense in interface com.atlassian.sal.api.license.BaseLicenseDetails
    • getLicenseExpiryDate

      public @Nullable Date getLicenseExpiryDate()
      Specified by:
      getLicenseExpiryDate in interface com.atlassian.sal.api.license.BaseLicenseDetails
    • getMaintenanceExpiryDate

      public @Nullable Date getMaintenanceExpiryDate()
      Specified by:
      getMaintenanceExpiryDate in interface com.atlassian.sal.api.license.BaseLicenseDetails
    • isDataCenter

      public boolean isDataCenter()
      Specified by:
      isDataCenter in interface com.atlassian.sal.api.license.BaseLicenseDetails
    • isEnterpriseLicensingAgreement

      public boolean isEnterpriseLicensingAgreement()
      Specified by:
      isEnterpriseLicensingAgreement in interface com.atlassian.sal.api.license.BaseLicenseDetails
    • getProperty

      public @Nullable String getProperty(@NonNull String key)
      Specified by:
      getProperty in interface com.atlassian.sal.api.license.BaseLicenseDetails