| Modifier and Type | Class and Description |
|---|---|
class |
EntitlementExceededException
Exception thrown when the validation of an entitlement fails.
|
class |
ExpiredLicenseException
Exception thrown when the license is of type
STANDARD and the
end date has been reached. |
class |
InvalidLicenseException
Exception thrown when the license file is corrupted or can't be decrypted.
|
class |
LicenseNotFoundException
Exception thrown when the license file is not present or can't be read.
|
class |
UnsupportedEntitlementException
Exception thrown when an invalid module or entitlement is requested during a validation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LicenseAware.loadLicense()
Reads the license file and extracts the relevant data.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EntitlementValidator.validateEntitlement(Module module,
EntitlementType entitlementType,
int currentValue,
int newAmount)
Checks that an entitlement is below the value indicated in the configuration file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultEntitlementValidatorImpl.init()
Performs an early validation of the license file.
|
void |
DefaultEntitlementValidatorImpl.loadLicense() |
Copyright © 2019 CrafterCMS. All rights reserved.