Class ActivatedLicenseState
- java.lang.Object
-
- com.inductiveautomation.ignition.common.licensing.ActivatedLicenseState
-
- All Implemented Interfaces:
LicenseState,java.io.Serializable
public class ActivatedLicenseState extends java.lang.Object implements LicenseState
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActivatedLicenseState(LicenseDetails platformLicense, LicenseDetails moduleLicense)
-
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()
-
-
-
Constructor Detail
-
ActivatedLicenseState
public ActivatedLicenseState(LicenseDetails platformLicense, LicenseDetails moduleLicense)
-
-
Method Detail
-
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.
-
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
-
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
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-