Class RawProductLicenseImpl

java.lang.Object
com.atlassian.jira.bc.license.RawProductLicenseImpl
All Implemented Interfaces:
com.atlassian.sal.api.license.RawProductLicense

public class RawProductLicenseImpl extends Object implements com.atlassian.sal.api.license.RawProductLicense
  • Constructor Details

    • RawProductLicenseImpl

      public RawProductLicenseImpl(@Nonnull Optional<String> productKey, @Nonnull Optional<String> license)
    • RawProductLicenseImpl

      public RawProductLicenseImpl(@Nonnull Optional<String> productKey, @Nonnull Optional<String> license, @Nonnull boolean isDeleteLicense)
  • Method Details

    • getProductKey

      @Nonnull public Optional<String> getProductKey()
      Specified by:
      getProductKey in interface com.atlassian.sal.api.license.RawProductLicense
      Returns:
      Optional of the product key of the license Optional empty if there is no product key
    • getLicense

      @Nonnull public Optional<String> getLicense()
      Specified by:
      getLicense in interface com.atlassian.sal.api.license.RawProductLicense
      Returns:
      Optional of the license that may or may not get verified Optional empty if there is no license
    • isDeleteLicense

      @Nonnull public boolean isDeleteLicense()
      Specified by:
      isDeleteLicense in interface com.atlassian.sal.api.license.RawProductLicense