Interface LicenseState
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ActivatedLicenseState
,FreeLicenseState
,InvalidLicenseState
,TrialLicenseState
Represents what license state a specific module is in, including any platform-wide license details and the license
details for the module in question.
-
Method Summary
Modifier and TypeMethodDescriptionThe Date at which this demo's trial period will expire, or expired at if already expired.boolean
Whether or not this demo's trial period has expired.
-
Method Details
-
getLicenseMode
LicenseMode getLicenseMode()- Returns:
- the
LicenseMode
for this given LicenseState.
-
isTrialExpired
boolean isTrialExpired()Whether or not this demo's trial period has expired. Only relevant when the LicenseMode is Trial.- Returns:
- true if the demo's trial has expired
-
getTrialExpirationDate
Date getTrialExpirationDate()The Date at which this demo's trial period will expire, or expired at if already expired. Not relevant unless the LicenseMode is Demo. -
getPlatformLicense
LicenseDetails getPlatformLicense()- Returns:
- the PlatformLicense in effect for this LicenseState. If the LicenseMode is not Activated this can be null.
-
getModuleLicense
ModuleLicense getModuleLicense()- Returns:
- the LicenseDetails in effect for this LicenseState for this particular module. If the LicenseMode is not Activated this can be null.
-