| Modifier and Type | Field and Description |
|---|---|
protected Module |
UnsupportedEntitlementException.module
The requested module.
|
protected Module |
EntitlementExceededException.module
The module that requested the validation.
|
| Modifier and Type | Method and Description |
|---|---|
Module |
UnsupportedEntitlementException.getModule() |
Module |
EntitlementExceededException.getModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
UnsupportedEntitlementException.setModule(Module module) |
| Constructor and Description |
|---|
EntitlementExceededException(Module module,
EntitlementType entitlementType,
Number entitlementValue,
Number currentValue) |
UnsupportedEntitlementException(Module module,
EntitlementType entitlementType) |
| Modifier and Type | Field and Description |
|---|---|
protected Map<Module,List<Entitlement>> |
License.entitlements
Map of entitlements for each module.
|
| Modifier and Type | Method and Description |
|---|---|
static Module |
Module.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Module[] |
Module.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Module,List<Entitlement>> |
License.getEntitlements() |
| Modifier and Type | Method and Description |
|---|---|
void |
License.setEntitlements(Map<Module,List<Entitlement>> entitlements) |
| 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.validateEntitlement(Module module,
EntitlementType entitlementType,
int currentValue,
int newAmount)
Checks that an entitlement is below the value indicated in the configuration file.
|
Copyright © 2019 CrafterCMS. All rights reserved.