| 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 | 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 |
|---|---|
Module |
EntitlementUsageProvider.getModule()
Identifies the current module running.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
EntitlementValidator.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.