Class InvalidLicenseState
- java.lang.Object
-
- com.inductiveautomation.ignition.common.licensing.InvalidLicenseState
-
- All Implemented Interfaces:
LicenseState
,java.io.Serializable
public class InvalidLicenseState extends java.lang.Object implements LicenseState
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidLicenseState(java.lang.String cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getCause()
LicenseMode
getLicenseMode()
ModuleLicense
getModuleLicense()
LicenseDetails
getPlatformLicense()
java.util.Date
getTrialExpirationDate()
The Date at which this demo's trial period will expire, or expired at if already expired.int
hashCode()
boolean
isTrialExpired()
Whether or not this demo's trial period has expired.java.lang.String
toString()
-
-
-
Method Detail
-
getCause
public java.lang.String getCause()
-
getTrialExpirationDate
public java.util.Date getTrialExpirationDate()
Description copied from interface:LicenseState
The 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:
getTrialExpirationDate
in interfaceLicenseState
-
getLicenseMode
public LicenseMode getLicenseMode()
- Specified by:
getLicenseMode
in interfaceLicenseState
- Returns:
- the
LicenseMode
for this given LicenseState.
-
getModuleLicense
public ModuleLicense getModuleLicense()
- Specified by:
getModuleLicense
in 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:
getPlatformLicense
in 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:LicenseState
Whether or not this demo's trial period has expired. Only relevant when the LicenseMode is Trial.- Specified by:
isTrialExpired
in interfaceLicenseState
- Returns:
- true if the demo's trial has expired
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-