public interface LicenseService
SpecialistsBroker
:
final LicenseService licenseService = SpecialistsBroker.requireSpecialist(SpecialistType).getService(LicenseService.class);
SpecialistsBroker
,
ServicesBroker
Modifier and Type | Method and Description |
---|---|
int |
getCaasSlots()
Returns maximum available number of CaaS slots.
|
Optional<LocalDate> |
getLicenseExpirationDate()
Returns expiration date of license.
|
boolean |
isFeatureLicensed(String featureCode)
Returns
true if a feature code is licensed, false otherwise. |
boolean |
isModuleLicensed(String moduleName)
Returns
true if a module is licensed, false otherwise. |
boolean isModuleLicensed(String moduleName)
true
if a module is licensed, false
otherwise.moduleName
- The name of the moduleboolean isFeatureLicensed(String featureCode)
true
if a feature code is licensed, false
otherwise.featureCode
- The feature code@NotNull Optional<LocalDate> getLicenseExpirationDate()
int getCaasSlots()
0
for unlimited slots and -1
if CaaS
is not licensed.0
for unlimited slots and -1
if CaaS is not licensed.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210