public static interface LicenseManager.CustomLicenseProcessor
| Modifier and Type | Method and Description |
|---|---|
default Map<String,String> |
deriveCustomProperties()
This method can be overridden by individual products to compute and return values for the expected set of
custom properties in the provided/downloaded license, based on the current runtime environment.
|
default boolean |
isLocationAware()
This method can be overridden by individual products to indicate whether the product is expected to consider
the installation location when generating the identifier for the instance.
|
default boolean |
isPreProvidedLicense()
This method can be overridden by individual products to indicate whether the product is expected to download
license from remote server (in which case the license directory should have write access) or generated
license is provided beforehand (in which case the license directory does not need write access).
|
boolean |
processLicense(Properties license)
This method should be used by individual products to perform any additional validations on the license
properties
|
boolean processLicense(Properties license)
license - resolved license as an instance of Propertiestrue if validation is successful, false otherwisedefault boolean isPreProvidedLicense()
true if license is provided beforehand, false otherwise. The default
implementation value is set to falsedefault boolean isLocationAware()
true if the installation location should be considered, false otherwise.
The default implementation value is set to truedefault Map<String,String> deriveCustomProperties()
Map containing the derived custom properties as key-value pairs. The default implementation
returns an empty map to indicate no custom properties are required.Copyright © 2016–2019 AdroitLogic. All rights reserved.