Package io.camunda.optimize.license
Class CamundaLicense
java.lang.Object
io.camunda.optimize.license.CamundaLicense
This class is a duplicate of src/main/java/io/camunda/service/license/CamundaLicense.java
This class exists because Optimize is not part of the single application, and cannot use any of the monorepo's modules. Once Optimize is added, the `service` implementation of `CamundaLicense` can be used, and this Optimize duplicate can be removed
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.camunda.bpm.licensecheck.LicenseKeygetLicenseKey(String licenseStr) voidinitializeWithLicense(String license) booleanbooleanisValid()
-
Field Details
-
CAMUNDA_LICENSE_ENV_VAR_KEY
- See Also:
-
-
Constructor Details
-
CamundaLicense
-
-
Method Details
-
isValid
public boolean isValid() -
getLicenseType
-
isCommercial
public boolean isCommercial() -
expiresAt
-
initializeWithLicense
-
getLicenseKey
protected org.camunda.bpm.licensecheck.LicenseKey getLicenseKey(String licenseStr) throws org.camunda.bpm.licensecheck.InvalidLicenseException - Throws:
org.camunda.bpm.licensecheck.InvalidLicenseException
-