Package jetbrains.buildServer.serverSide
Interface LicenseKeyData
-
- All Known Subinterfaces:
JwtLicenseKeyData
public interface LicenseKeyData
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringdescribeLicense()DategetExpirationDate()DategetGenerationDate()intgetLicenseType()DategetMaintenanceDueDate()intgetMajorVersion()intgetMaxNumberOfAgents()intgetMinorVersion()intgetNumberOfAgents()booleanisLicenseExpired()booleanisTimeBasedLicense()
-
-
-
Method Detail
-
getLicenseType
int getLicenseType()
- Returns:
- type of license
-
getMajorVersion
int getMajorVersion()
- Returns:
- major version for which this key was generated
-
getMinorVersion
int getMinorVersion()
- Returns:
- minor version for which this key was generated
-
getGenerationDate
@NotNull Date getGenerationDate()
- Returns:
- date of key generation
-
getExpirationDate
Date getExpirationDate()
- Returns:
- date of key expiration for time-based license
-
getMaintenanceDueDate
Date getMaintenanceDueDate()
- Returns:
- date of end of maintenance
-
isTimeBasedLicense
boolean isTimeBasedLicense()
- Returns:
- true if license is time based (trial or open source)
-
isLicenseExpired
boolean isLicenseExpired()
- Returns:
- true if license is expired
-
getNumberOfAgents
int getNumberOfAgents()
- Returns:
- Number of agents written in the license key.
-
getMaxNumberOfAgents
int getMaxNumberOfAgents()
- Returns:
- Number of agents written in the license key for
ServerLicenseType.ENTERPRISE_PER_USAGElicense when it is *active*. Same asgetNumberOfAgents()for all other license types.
-
describeLicense
String describeLicense()
- Returns:
- human readable description of the license
-
-