Class IgnitionLicense

  • All Implemented Interfaces:
    License, java.io.Serializable

    public class IgnitionLicense
    extends BaseLicense
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • IgnitionLicense

        public IgnitionLicense​(CDKey cdKey,
                               java.lang.String systemId,
                               int version,
                               LicenseDetails platformLicense,
                               java.util.List<ModuleLicense> moduleLicenses)
    • Method Detail

      • 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 interface License
      • 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 interface License
      • 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 interface License
      • 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 interface License
      • getVersion

        public int getVersion()
        Specified by:
        getVersion in interface License
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object