Class LicenseKeyDataImpl

java.lang.Object
org.camunda.bpm.engine.impl.telemetry.dto.LicenseKeyDataImpl
All Implemented Interfaces:
LicenseKeyData

public class LicenseKeyDataImpl extends Object implements LicenseKeyData
  • Field Details

    • SERIALIZED_VALID_UNTIL

      public static final String SERIALIZED_VALID_UNTIL
      See Also:
    • SERIALIZED_IS_UNLIMITED

      public static final String SERIALIZED_IS_UNLIMITED
      See Also:
    • customer

      protected String customer
    • type

      protected String type
    • validUntil

      @SerializedName("valid-until") protected String validUntil
    • isUnlimited

      @SerializedName("unlimited") protected Boolean isUnlimited
    • features

      protected Map<String,String> features
    • raw

      protected String raw
  • Constructor Details

  • Method Details

    • fromRawString

      public static LicenseKeyDataImpl fromRawString(String rawLicense)
    • getCustomer

      public String getCustomer()
      Description copied from interface: LicenseKeyData
      The name of the customer this license was issued for.
      Specified by:
      getCustomer in interface LicenseKeyData
    • setCustomer

      public void setCustomer(String customer)
    • getType

      public String getType()
      Description copied from interface: LicenseKeyData
      Camunda uses different license types e.g., when one license includes usage of Cawemo enterprise.
      Specified by:
      getType in interface LicenseKeyData
    • setType

      public void setType(String type)
    • getValidUntil

      public String getValidUntil()
      Description copied from interface: LicenseKeyData
      The expiry date of the license in the format 'YYYY-MM-DD'.
      Specified by:
      getValidUntil in interface LicenseKeyData
    • setValidUntil

      public void setValidUntil(String validUntil)
    • isUnlimited

      public Boolean isUnlimited()
      Description copied from interface: LicenseKeyData
      A flag indicating if the license is unlimited or expires.
      Specified by:
      isUnlimited in interface LicenseKeyData
    • setUnlimited

      public void setUnlimited(Boolean isUnlimited)
    • getFeatures

      public Map<String,String> getFeatures()
      Description copied from interface: LicenseKeyData
      A collection of features that are enabled through this license. Features could be Camunda BPM, Optimize or Cawemo.
      Specified by:
      getFeatures in interface LicenseKeyData
    • setFeatures

      public void setFeatures(Map<String,String> features)
    • getRaw

      public String getRaw()
      Description copied from interface: LicenseKeyData
      The raw license data. This combines all data fields also included in this class in the form which is stored in the license key String. Note, that this is not the license key as issued to the customer but only contains the plain-text part of it and not the encrypted key.
      Specified by:
      getRaw in interface LicenseKeyData
    • setRaw

      public void setRaw(String raw)