Interface LicenseState
- 
- All Superinterfaces:
- java.io.Serializable
 - All Known Implementing Classes:
- ActivatedLicenseState,- FreeLicenseState,- InvalidLicenseState,- TrialLicenseState
 
 public interface LicenseState extends java.io.SerializableRepresents what license state a specific module is in, including any platform-wide license details and the license details for the module in question.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description LicenseModegetLicenseMode()ModuleLicensegetModuleLicense()LicenseDetailsgetPlatformLicense()java.util.DategetTrialExpirationDate()The Date at which this demo's trial period will expire, or expired at if already expired.booleanisTrialExpired()Whether or not this demo's trial period has expired.
 
- 
- 
- 
Method Detail- 
getLicenseModeLicenseMode getLicenseMode() - Returns:
- the LicenseModefor this given LicenseState.
 
 - 
isTrialExpiredboolean 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
 
 - 
getTrialExpirationDatejava.util.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.
 - 
getPlatformLicenseLicenseDetails getPlatformLicense() - Returns:
- the PlatformLicense in effect for this LicenseState. If the LicenseMode is not Activated this can be null.
 
 - 
getModuleLicenseModuleLicense getModuleLicense() - Returns:
- the LicenseDetails in effect for this LicenseState for this particular module. If the LicenseMode is not Activated this can be null.
 
 
- 
 
-