Package com.atlassian.jira.bc.license
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 Summary
ConstructorDescriptionRawProductLicenseImpl
(Optional<String> productKey, Optional<String> license) RawProductLicenseImpl
(Optional<String> productKey, Optional<String> license, boolean isDeleteLicense) -
Method Summary
Modifier and TypeMethodDescriptionboolean
-
Constructor Details
-
RawProductLicenseImpl
-
RawProductLicenseImpl
-
-
Method Details
-
getProductKey
- Specified by:
getProductKey
in interfacecom.atlassian.sal.api.license.RawProductLicense
- Returns:
- Optional of the product key of the license Optional empty if there is no product key
-
getLicense
- Specified by:
getLicense
in interfacecom.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 interfacecom.atlassian.sal.api.license.RawProductLicense
-