public class IgnitionLicense extends BaseLicense implements java.io.Serializable
BaseLicense.LicenseParser
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
CDKey |
getCDKey() |
java.util.List<ModuleLicense> |
getModuleLicenses() |
RuntimeLock |
getOEMLock()
Provides the OEMLock of the system, if it's licensed to have one.
|
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.
|
fromXml, toString, writeXml
public IgnitionLicense(CDKey cdKey, java.util.UUID contextToken, SystemHash systemHash, LicenseDetails platformLicense, java.util.List<ModuleLicense> moduleLicenses)
public IgnitionLicense(CDKey cdKey, java.lang.String systemId, int version, LicenseDetails platformLicense, java.util.List<ModuleLicense> moduleLicenses)
public java.util.List<ModuleLicense> getModuleLicenses()
getModuleLicenses
in interface License
public LicenseDetails getPlatformLicense()
License
getPlatformLicense
in interface License
public boolean isPrimaryLicense()
License
isPrimaryLicense
in interface License
@Deprecated public SystemHash getSystemHash()
License
getSystemHash
in interface License
public boolean isDeveloperLicense()
isDeveloperLicense
in interface License
public boolean isEdgeLicense()
isEdgeLicense
in interface License
public RuntimeLock getOEMLock()
License
getOEMLock
in interface License
public java.lang.String getSystemId()
License
getSystemId
in interface License
public int getVersion()
getVersion
in interface License
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object