Class ModuleInfo.JarInfo

java.lang.Object
com.inductiveautomation.ignition.common.modules.ModuleInfo.JarInfo
All Implemented Interfaces:
Serializable
Enclosing class:
ModuleInfo

public static class ModuleInfo.JarInfo extends Object implements Serializable
Contains meta information about a module's jar file, such as its scope and native lib parameters, and path within the module package.
See Also:
  • Constructor Details

    • JarInfo

      public JarInfo(int scope, String path)
    • JarInfo

      public JarInfo(int scope, String path, String requiredOS, String requiredArch)
  • Method Details

    • getScope

      public int getScope()
    • getPath

      public String getPath()
    • getRequiredOS

      public String getRequiredOS()
      Get the required OS for the jar. Empty string should be interpreted as "any is okay."
      Returns:
      Comma-delimited list of required operating systems
    • getRequiredArch

      public String getRequiredArch()
      Get the required architecture for the jar. Empty string should be interpreted as "any is okay."
      Returns:
      Comma-delimited list of required operating architectures
    • isRequiredOS

      public boolean isRequiredOS(Platform.OperatingSystem os)
      Returns:
      True if os is a member of required os set or no particular os is required
    • isRequiredArchitecture

      public boolean isRequiredArchitecture(Platform.Architecture arch)
      Returns:
      True if arch is a member of required os set or no particular arch is required
    • isNativeLib

      public boolean isNativeLib()
      Returns:
      True if jar requires a particular OS or architecture