Class IgnitionLicense
- java.lang.Object
 - 
- com.inductiveautomation.ignition.common.licensing.BaseLicense
 - 
- com.inductiveautomation.ignition.common.licensing.IgnitionLicense
 
 
 
- 
- All Implemented Interfaces:
 License,java.io.Serializable
public class IgnitionLicense extends BaseLicense implements java.io.Serializable
- See Also:
 - Serialized Form
 
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.common.licensing.BaseLicense
BaseLicense.LicenseParser 
 - 
 
- 
Constructor Summary
Constructors Constructor Description IgnitionLicense(CDKey cdKey, java.lang.String systemId, int version, LicenseDetails platformLicense, java.util.List<LicenseDetails> moduleLicenses)IgnitionLicense(CDKey cdKey, java.util.UUID contextToken, SystemHash systemHash, LicenseDetails platformLicense, java.util.List<LicenseDetails> moduleLicenses) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)CDKeygetCDKey()java.util.List<LicenseDetails>getModuleLicenses()LicenseDetailsgetPlatformLicense()The LicenseDetails that pertain to the Ignition Platform as a whole.SystemHashgetSystemHash()Deprecated.java.lang.StringgetSystemId()Returns a string representation of identifying system features.intgetVersion()inthashCode()- 
Methods inherited from class com.inductiveautomation.ignition.common.licensing.BaseLicense
fromXml, toString, writeXml 
- 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface com.inductiveautomation.ignition.common.licensing.License
isPrimaryLicense 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
IgnitionLicense
public IgnitionLicense(CDKey cdKey, java.util.UUID contextToken, SystemHash systemHash, LicenseDetails platformLicense, java.util.List<LicenseDetails> moduleLicenses)
 
- 
IgnitionLicense
public IgnitionLicense(CDKey cdKey, java.lang.String systemId, int version, LicenseDetails platformLicense, java.util.List<LicenseDetails> moduleLicenses)
 
 - 
 
- 
Method Detail
- 
getModuleLicenses
public java.util.List<LicenseDetails> getModuleLicenses()
- Specified by:
 getModuleLicensesin interfaceLicense
 
- 
getPlatformLicense
public LicenseDetails getPlatformLicense()
Description copied from interface:LicenseThe LicenseDetails that pertain to the Ignition Platform as a whole. Will be null on secondary licenses- Specified by:
 getPlatformLicensein interfaceLicense
 
- 
getSystemHash
@Deprecated public SystemHash getSystemHash()
Deprecated.Description copied from interface:LicenseThis was the old way of tying a license to a system. New licenses will have a systemId instead, and this will be null, but old licenses will still have this on them.- Specified by:
 getSystemHashin interfaceLicense
 
- 
getSystemId
public java.lang.String getSystemId()
Description copied from interface:LicenseReturns a string representation of identifying system features. Replaces SystemHash.- Specified by:
 getSystemIdin interfaceLicense
 
- 
getVersion
public int getVersion()
- Specified by:
 getVersionin interfaceLicense
 
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classjava.lang.Object
 
- 
equals
public boolean equals(java.lang.Object obj)
- Overrides:
 equalsin classjava.lang.Object
 
 - 
 
 -