Class EdgeHistoryLicense

java.lang.Object
com.inductiveautomation.historian.gateway.license.EdgeHistoryLicense
All Implemented Interfaces:
LicenseStateUpdateListener, EventListener

public class EdgeHistoryLicense extends Object implements LicenseStateUpdateListener
  • Method Details

    • create

      public static EdgeHistoryLicense create(GatewayContext context)
      I prefer this static creation in order to avoid implying the adding of listeners in the constructor. That is, it balances shutdown()
    • startup

      public void startup()
    • shutdown

      public void shutdown()
    • isActive

      public boolean isActive()
    • isUnlimited

      public boolean isUnlimited()
    • licenseStateUpdated

      public void licenseStateUpdated(LicenseStateUpdateEvent e)
      Description copied from interface: LicenseStateUpdateListener
      The LicenseState for the module specified in the LicenseStateChangeEvent has been updated. Module id of empty-string represents the license state for the Ignition platform itself.
      Specified by:
      licenseStateUpdated in interface LicenseStateUpdateListener
      Parameters:
      e - The LicenseStateUpdateEvent
    • refreshState

      protected void refreshState()
    • isActive

      public static boolean isActive(GatewayContext context)
      Returns whether tag history is available and not demo expired.
    • isUnlimited

      public static boolean isUnlimited(GatewayContext context)
      We allow unlimited local history with any kind of tag historian license installed.