Class JwtLicenseInfoData
- java.lang.Object
-
- jetbrains.buildServer.license.data.JwtLicenseInfoData
-
public class JwtLicenseInfoData extends Object
Raw parsed data of JWT license. Must be post-processed (i.e. apply release date limits) to receive aLicenseInfo
implementation- Author:
- Daniil.Boger
-
-
Field Summary
Fields Modifier and Type Field Description static String
DATE_FORMAT
-
Constructor Summary
Constructors Constructor Description JwtLicenseInfoData()
-
Method Summary
-
-
-
Field Detail
-
DATE_FORMAT
public static final String DATE_FORMAT
- See Also:
- Constant Field Values
-
-
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)
-
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()
-
-