Interface LicenseServiceInternal
-
- All Superinterfaces:
LicenseService
- All Known Implementing Classes:
DefaultLicenseService
public interface LicenseServiceInternal extends LicenseService
- Since:
- 6.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isLicensed()
Returns whether there is a currently installed license.-
Methods inherited from interface com.atlassian.confluence.license.LicenseService
install, isLicensedForDataCenter, isLicensedForDataCenterOrExempt, retrieve, retrieve, retrieveAtlassianLicense, retrieveForProduct, validate, validate
-
-
-
-
Method Detail
-
isLicensed
boolean isLicensed() throws LicenseException
Returns whether there is a currently installed license. This is roughly equivalent to checking if callingLicenseService.retrieveAtlassianLicense()
is non-null.- Returns:
- whether there is a license.
- Throws:
LicenseException
- if no license is installed or the license could not be de-crypted
-
-