Class JwtLicenseInfoData


  • public class JwtLicenseInfoData
    extends Object
    Raw parsed data of JWT license. Must be post-processed (i.e. apply release date limits) to receive a LicenseInfo implementation
    Author:
    Daniil.Boger
    • Constructor Detail

      • JwtLicenseInfoData

        public JwtLicenseInfoData()
    • Method Detail

      • getFormatVersion

        @NotNull
        public String getFormatVersion()
      • setFormatVersion

        public void setFormatVersion​(@NotNull
                                     String formatVersion)
      • getLicenseId

        @NotNull
        public String getLicenseId()
      • setLicenseId

        public void setLicenseId​(@NotNull
                                 String licenseId)
      • getInstPubKey

        @NotNull
        public String getInstPubKey()
      • setInstPubKey

        public void setInstPubKey​(@NotNull
                                  String instPubKey)
      • getProductCode

        @NotNull
        public String getProductCode()
      • setProductCode

        public void setProductCode​(@NotNull
                                   String productCode)
      • isTrial

        public boolean isTrial()
      • setTrial

        public void setTrial​(boolean trial)
      • getProductName

        @NotNull
        public String getProductName()
      • setProductName

        public void setProductName​(@NotNull
                                   String productName)
      • getCustomerName

        @NotNull
        public String getCustomerName()
      • setCustomerName

        public void setCustomerName​(@NotNull
                                    String customerName)
      • getBillingPeriod

        @NotNull
        public String getBillingPeriod()
      • setBillingPeriod

        public void setBillingPeriod​(@NotNull
                                     String billingPeriod)
      • getValidFrom

        @NotNull
        public Date getValidFrom()
      • setValidFrom

        public void setValidFrom​(@NotNull
                                 Date validFrom)
      • getValidTill

        @Nullable
        public Date getValidTill()
      • setValidTill

        public void setValidTill​(@Nullable
                                 Date validTill)
      • getValidityStart

        @Nullable
        public Date getValidityStart()
      • setValidityStart

        public void setValidityStart​(@NotNull
                                     Date validityStart)
      • getValidityEnd

        @Nullable
        public Date getValidityEnd()
      • setValidityEnd

        public void setValidityEnd​(@Nullable
                                   Date validityEnd)
      • getUsageMax

        @Nullable
        public String getUsageMax()
      • setUsageMax

        public void setUsageMax​(@Nullable
                                String usageMax)
      • getLicenseType

        @NotNull
        public String getLicenseType()
      • setLicenseType

        public void setLicenseType​(@NotNull
                                   String licenseType)
      • getUpgradeDueDate

        @Nullable
        public Date getUpgradeDueDate()
      • setUpgradeDueDate

        public void setUpgradeDueDate​(@Nullable
                                      Date upgradeDueDate)
      • getMajorVersion

        public int getMajorVersion()
      • setMajorVersion

        public void setMajorVersion​(int majorVersion)
      • getMinorVersion

        public int getMinorVersion()
      • setMinorVersion

        public void setMinorVersion​(int minorVersion)
      • getMaxAgents

        public int getMaxAgents()
      • setMaxAgents

        public void setMaxAgents​(int maxAgents)
      • getAgentsUpgradeDueDate

        @NotNull
        public Map<String,​Integer> getAgentsUpgradeDueDate()
      • setAgentsUpgradeDueDate

        public void setAgentsUpgradeDueDate​(@NotNull
                                            Map<String,​Integer> agentsUpgradeDueDate)
      • getJwtIssuedAt

        public long getJwtIssuedAt()
      • setJwtIssuedAt

        public void setJwtIssuedAt​(long jwtIssuedAt)
      • getJwtExpiration

        public long getJwtExpiration()
      • setJwtExpiration

        public void setJwtExpiration​(long jwtExpiration)
      • getJwtIssuedAtAsDate

        @NotNull
        public Date getJwtIssuedAtAsDate()
      • getJwtExpirationAsDate

        @NotNull
        public Date getJwtExpirationAsDate()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object