java.lang.Object
java.lang.Enum<EdgePlugin>
com.inductiveautomation.ignition.gateway.licensing.EdgePlugin
All Implemented Interfaces:
Serializable, Comparable<EdgePlugin>, Constable

public enum EdgePlugin extends Enum<EdgePlugin>
  • Enum Constant Details

  • Method Details

    • values

      public static EdgePlugin[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static EdgePlugin valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • modulesAreInstalled

      public boolean modulesAreInstalled(@Nonnull ModuleManager manager)
      Returns:
      true if all module dependencies exist
    • modulesAreLicensed

      public boolean modulesAreLicensed(LicenseManager manager)
      Returns:
      true if the license exists for all module dependencies
    • modulesAreActivated

      public boolean modulesAreActivated(ModuleManager manager)
      Returns:
      true if the module dependencies exist and none of the trials are expired. If no module dependencies exist and the platform is trial expired, returns false
    • requiresModules

      public boolean requiresModules()
    • hasPlatformLicense

      public boolean hasPlatformLicense(LicenseManager manager)
      Returns:
      true if the platform license contains the license parameter specified by the plugin. Also returns true if the plugin did not specify a license parameter.
    • isAvailable

      public boolean isAvailable(@Nonnull GatewayContext context)
      Returns true if the plugin is installed and is either licensed or in demo mode.
    • getPluginName

      public String getPluginName()
    • getModuleDependencies

      public List<String> getModuleDependencies()