Class TrialLicenseState
- java.lang.Object
 - 
- com.inductiveautomation.ignition.common.licensing.TrialLicenseState
 
 
- 
- All Implemented Interfaces:
 LicenseState,java.io.Serializable
public class TrialLicenseState extends java.lang.Object implements LicenseState
- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description TrialLicenseState(boolean trialExpired, java.util.Date trialExpirationDate) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)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.java.lang.StringtoString() 
 - 
 
- 
- 
Method Detail
- 
getTrialExpirationDate
public java.util.Date getTrialExpirationDate()
Description copied from interface:LicenseStateThe Date at which this demo's trial period will expire, or expired at if already expired. Not relevant unless the LicenseMode is Demo.- Specified by:
 getTrialExpirationDatein interfaceLicenseState
 
- 
isTrialExpired
public boolean isTrialExpired()
Description copied from interface:LicenseStateWhether or not this demo's trial period has expired. Only relevant when the LicenseMode is Trial.- Specified by:
 isTrialExpiredin interfaceLicenseState- Returns:
 - true if the demo's trial has expired
 
 
- 
getLicenseMode
public LicenseMode getLicenseMode()
- Specified by:
 getLicenseModein interfaceLicenseState- Returns:
 - the 
LicenseModefor this given LicenseState. 
 
- 
getModuleLicense
public ModuleLicense getModuleLicense()
- Specified by:
 getModuleLicensein interfaceLicenseState- Returns:
 - the LicenseDetails in effect for this LicenseState for this particular module. If the LicenseMode is not Activated this can be null.
 
 
- 
getPlatformLicense
public LicenseDetails getPlatformLicense()
- Specified by:
 getPlatformLicensein interfaceLicenseState- Returns:
 - the PlatformLicense in effect for this LicenseState. If the LicenseMode is not Activated this can be null.
 
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
- 
equals
public boolean equals(java.lang.Object obj)
- Overrides:
 equalsin classjava.lang.Object
 
 - 
 
 -