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 ofConfluenceLicensewhich implementsBaseLicenseDetails- Since:
- 5.9.1
- See Also:
BaseLicenseDetails
-
-
Constructor Summary
Constructors Constructor Description BaseLicenseDetailsImpl(@NonNull com.atlassian.extras.api.confluence.ConfluenceLicense confluenceLicense)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.atlassian.extras.api.confluence.ConfluenceLicensegetConfluenceLicense()StringgetDescription()@Nullable DategetLicenseExpiryDate()@NonNull StringgetLicenseTypeName()@Nullable DategetMaintenanceExpiryDate()StringgetOrganisationName()@Nullable StringgetProperty(@NonNull String key)StringgetServerId()@Nullable StringgetSupportEntitlementNumber()booleanisDataCenter()booleanisEnterpriseLicensingAgreement()booleanisEvaluationLicense()booleanisPerpetualLicense()
-
-
-
Method Detail
-
getConfluenceLicense
protected com.atlassian.extras.api.confluence.ConfluenceLicense getConfluenceLicense()
-
isEvaluationLicense
public boolean isEvaluationLicense()
- Specified by:
isEvaluationLicensein interfacecom.atlassian.sal.api.license.BaseLicenseDetails
-
getLicenseTypeName
public @NonNull String getLicenseTypeName()
- Specified by:
getLicenseTypeNamein interfacecom.atlassian.sal.api.license.BaseLicenseDetails
-
getOrganisationName
public String getOrganisationName()
- Specified by:
getOrganisationNamein interfacecom.atlassian.sal.api.license.BaseLicenseDetails
-
getSupportEntitlementNumber
public @Nullable String getSupportEntitlementNumber()
- Specified by:
getSupportEntitlementNumberin interfacecom.atlassian.sal.api.license.BaseLicenseDetails
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfacecom.atlassian.sal.api.license.BaseLicenseDetails
-
getServerId
public String getServerId()
- Specified by:
getServerIdin interfacecom.atlassian.sal.api.license.BaseLicenseDetails
-
isPerpetualLicense
public boolean isPerpetualLicense()
- Specified by:
isPerpetualLicensein interfacecom.atlassian.sal.api.license.BaseLicenseDetails
-
getLicenseExpiryDate
public @Nullable Date getLicenseExpiryDate()
- Specified by:
getLicenseExpiryDatein interfacecom.atlassian.sal.api.license.BaseLicenseDetails
-
getMaintenanceExpiryDate
public @Nullable Date getMaintenanceExpiryDate()
- Specified by:
getMaintenanceExpiryDatein interfacecom.atlassian.sal.api.license.BaseLicenseDetails
-
isDataCenter
public boolean isDataCenter()
- Specified by:
isDataCenterin interfacecom.atlassian.sal.api.license.BaseLicenseDetails
-
isEnterpriseLicensingAgreement
public boolean isEnterpriseLicensingAgreement()
- Specified by:
isEnterpriseLicensingAgreementin interfacecom.atlassian.sal.api.license.BaseLicenseDetails
-
-