Package com.atlassian.sal.crowd.license
Class SalCrowdLicenseView
java.lang.Object
com.atlassian.sal.crowd.license.SalCrowdLicenseView
- All Implemented Interfaces:
com.atlassian.sal.api.license.BaseLicenseDetails
,com.atlassian.sal.api.license.MultiProductLicenseDetails
,com.atlassian.sal.api.license.ProductLicense
,com.atlassian.sal.api.license.SingleProductLicenseDetailsView
public class SalCrowdLicenseView
extends Object
implements com.atlassian.sal.api.license.SingleProductLicenseDetailsView, com.atlassian.sal.api.license.MultiProductLicenseDetails
Crowd's license details view for SAL. As Crowd is a single-license product, it implements both a single and multi-product view (returning a singleton set of the license).
- Since:
- 2.11
-
Field Summary
Fields inherited from interface com.atlassian.sal.api.license.ProductLicense
UNLIMITED_USER_COUNT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet<com.atlassian.sal.api.license.ProductLicense>
int
com.atlassian.sal.api.license.ProductLicense
getProductLicense
(String productKey) Set<com.atlassian.sal.api.license.ProductLicense>
getProperty
(String property) boolean
boolean
boolean
boolean
boolean
-
Constructor Details
-
SalCrowdLicenseView
public SalCrowdLicenseView(com.atlassian.extras.api.crowd.CrowdLicense license)
-
-
Method Details
-
isEvaluationLicense
public boolean isEvaluationLicense()- Specified by:
isEvaluationLicense
in interfacecom.atlassian.sal.api.license.BaseLicenseDetails
-
getLicenseTypeName
- Specified by:
getLicenseTypeName
in interfacecom.atlassian.sal.api.license.BaseLicenseDetails
-
getOrganisationName
- Specified by:
getOrganisationName
in interfacecom.atlassian.sal.api.license.BaseLicenseDetails
-
getSupportEntitlementNumber
- Specified by:
getSupportEntitlementNumber
in interfacecom.atlassian.sal.api.license.BaseLicenseDetails
-
getDescription
- Specified by:
getDescription
in interfacecom.atlassian.sal.api.license.BaseLicenseDetails
-
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
- Specified by:
getLicenseExpiryDate
in interfacecom.atlassian.sal.api.license.BaseLicenseDetails
-
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
-
getProductKey
- Specified by:
getProductKey
in interfacecom.atlassian.sal.api.license.ProductLicense
-
isUnlimitedNumberOfUsers
public boolean isUnlimitedNumberOfUsers()- Specified by:
isUnlimitedNumberOfUsers
in interfacecom.atlassian.sal.api.license.ProductLicense
-
getNumberOfUsers
public int getNumberOfUsers()- Specified by:
getNumberOfUsers
in interfacecom.atlassian.sal.api.license.ProductLicense
-
getProductDisplayName
- Specified by:
getProductDisplayName
in interfacecom.atlassian.sal.api.license.ProductLicense
-
getProperty
- Specified by:
getProperty
in interfacecom.atlassian.sal.api.license.BaseLicenseDetails
- Specified by:
getProperty
in interfacecom.atlassian.sal.api.license.ProductLicense
-
getProductLicenses
- Specified by:
getProductLicenses
in interfacecom.atlassian.sal.api.license.MultiProductLicenseDetails
-
getEmbeddedLicenses
- Specified by:
getEmbeddedLicenses
in interfacecom.atlassian.sal.api.license.MultiProductLicenseDetails
-
getProductLicense
@Nullable public com.atlassian.sal.api.license.ProductLicense getProductLicense(@Nonnull String productKey) - Specified by:
getProductLicense
in interfacecom.atlassian.sal.api.license.MultiProductLicenseDetails
-