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 ofConfluenceLicense
which 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.ConfluenceLicense
getConfluenceLicense()
String
getDescription()
@Nullable Date
getLicenseExpiryDate()
@NonNull String
getLicenseTypeName()
@Nullable Date
getMaintenanceExpiryDate()
String
getOrganisationName()
@Nullable String
getProperty(@NonNull String key)
String
getServerId()
@Nullable String
getSupportEntitlementNumber()
boolean
isDataCenter()
boolean
isEnterpriseLicensingAgreement()
boolean
isEvaluationLicense()
boolean
isPerpetualLicense()
-
-
-
Method Detail
-
getConfluenceLicense
protected com.atlassian.extras.api.confluence.ConfluenceLicense getConfluenceLicense()
-
isEvaluationLicense
public boolean isEvaluationLicense()
- Specified by:
isEvaluationLicense
in interfacecom.atlassian.sal.api.license.BaseLicenseDetails
-
getLicenseTypeName
public @NonNull String getLicenseTypeName()
- Specified by:
getLicenseTypeName
in interfacecom.atlassian.sal.api.license.BaseLicenseDetails
-
getOrganisationName
public String getOrganisationName()
- Specified by:
getOrganisationName
in interfacecom.atlassian.sal.api.license.BaseLicenseDetails
-
getSupportEntitlementNumber
public @Nullable String getSupportEntitlementNumber()
- Specified by:
getSupportEntitlementNumber
in interfacecom.atlassian.sal.api.license.BaseLicenseDetails
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfacecom.atlassian.sal.api.license.BaseLicenseDetails
-
getServerId
public String getServerId()
- Specified by:
getServerId
in interfacecom.atlassian.sal.api.license.BaseLicenseDetails
-
isPerpetualLicense
public boolean isPerpetualLicense()
- Specified by:
isPerpetualLicense
in interfacecom.atlassian.sal.api.license.BaseLicenseDetails
-
getLicenseExpiryDate
public @Nullable Date getLicenseExpiryDate()
- Specified by:
getLicenseExpiryDate
in interfacecom.atlassian.sal.api.license.BaseLicenseDetails
-
getMaintenanceExpiryDate
public @Nullable Date getMaintenanceExpiryDate()
- Specified by:
getMaintenanceExpiryDate
in interfacecom.atlassian.sal.api.license.BaseLicenseDetails
-
isDataCenter
public boolean isDataCenter()
- Specified by:
isDataCenter
in interfacecom.atlassian.sal.api.license.BaseLicenseDetails
-
isEnterpriseLicensingAgreement
public boolean isEnterpriseLicensingAgreement()
- Specified by:
isEnterpriseLicensingAgreement
in interfacecom.atlassian.sal.api.license.BaseLicenseDetails
-
-