Class CamundaLicense

java.lang.Object
io.camunda.optimize.license.CamundaLicense

public class CamundaLicense extends Object
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 Details

  • Constructor Details

    • CamundaLicense

      public CamundaLicense(String license)
  • Method Details

    • isValid

      public boolean isValid()
    • getLicenseType

      public LicenseType getLicenseType()
    • isCommercial

      public boolean isCommercial()
    • expiresAt

      public OffsetDateTime expiresAt()
    • initializeWithLicense

      public void initializeWithLicense(String license)
    • getLicenseKey

      protected org.camunda.bpm.licensecheck.LicenseKey getLicenseKey(String licenseStr) throws org.camunda.bpm.licensecheck.InvalidLicenseException
      Throws:
      org.camunda.bpm.licensecheck.InvalidLicenseException