Class InvalidLicenseState

java.lang.Object
com.inductiveautomation.ignition.common.licensing.InvalidLicenseState
All Implemented Interfaces:
LicenseState, Serializable

public class InvalidLicenseState extends Object implements LicenseState
See Also:
  • Constructor Details

    • InvalidLicenseState

      public InvalidLicenseState(String cause)
  • Method Details

    • getCause

      public String getCause()
    • getTrialExpirationDate

      public 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 interface LicenseState
    • getLicenseMode

      public LicenseMode getLicenseMode()
      Specified by:
      getLicenseMode in interface LicenseState
      Returns:
      the LicenseMode for this given LicenseState.
    • getModuleLicense

      public ModuleLicense getModuleLicense()
      Specified by:
      getModuleLicense in interface LicenseState
      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 interface LicenseState
      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 interface LicenseState
      Returns:
      true if the demo's trial has expired
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object