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 Summary
All 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
- 
getLicenseMode
LicenseMode getLicenseMode()
- Returns:
 - the 
LicenseModefor 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
java.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. 
- 
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.
 
 
 - 
 
 -