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<ModuleLicense> moduleLicenses)
IgnitionLicense(CDKey cdKey, java.util.UUID contextToken, SystemHash systemHash, LicenseDetails platformLicense, java.util.List<ModuleLicense> moduleLicenses)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
CDKey
getCDKey()
java.util.List<ModuleLicense>
getModuleLicenses()
LicenseDetails
getPlatformLicense()
The LicenseDetails that pertain to the Ignition Platform as a whole.SystemHash
getSystemHash()
Deprecated.java.lang.String
getSystemId()
Returns a string representation of identifying system features.int
getVersion()
int
hashCode()
boolean
isDeveloperLicense()
boolean
isEdgeLicense()
boolean
isPrimaryLicense()
Returns true if this is a primary ignition license, which means that it contains platform details.-
Methods inherited from class com.inductiveautomation.ignition.common.licensing.BaseLicense
fromXml, toString, writeXml
-
-
-
-
Constructor Detail
-
IgnitionLicense
public IgnitionLicense(CDKey cdKey, java.util.UUID contextToken, SystemHash systemHash, LicenseDetails platformLicense, java.util.List<ModuleLicense> moduleLicenses)
-
IgnitionLicense
public IgnitionLicense(CDKey cdKey, java.lang.String systemId, int version, LicenseDetails platformLicense, java.util.List<ModuleLicense> moduleLicenses)
-
-
Method Detail
-
getModuleLicenses
public java.util.List<ModuleLicense> getModuleLicenses()
- Specified by:
getModuleLicenses
in interfaceLicense
-
getPlatformLicense
public LicenseDetails getPlatformLicense()
Description copied from interface:License
The LicenseDetails that pertain to the Ignition Platform as a whole. Will be null on secondary licenses- Specified by:
getPlatformLicense
in interfaceLicense
-
isPrimaryLicense
public boolean isPrimaryLicense()
Description copied from interface:License
Returns true if this is a primary ignition license, which means that it contains platform details.- Specified by:
isPrimaryLicense
in interfaceLicense
-
getSystemHash
@Deprecated public SystemHash getSystemHash()
Deprecated.Description copied from interface:License
This 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:
getSystemHash
in interfaceLicense
-
isDeveloperLicense
public boolean isDeveloperLicense()
- Specified by:
isDeveloperLicense
in interfaceLicense
-
isEdgeLicense
public boolean isEdgeLicense()
- Specified by:
isEdgeLicense
in interfaceLicense
-
getSystemId
public java.lang.String getSystemId()
Description copied from interface:License
Returns a string representation of identifying system features. Replaces SystemHash.- Specified by:
getSystemId
in interfaceLicense
-
getVersion
public int getVersion()
- Specified by:
getVersion
in interfaceLicense
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-