Class ModuleInfo.JarInfo
- java.lang.Object
-
- com.inductiveautomation.ignition.common.modules.ModuleInfo.JarInfo
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- ModuleInfo
public static class ModuleInfo.JarInfo extends java.lang.Object implements java.io.SerializableContains meta information about a module's jar file, such as its scope and native lib parameters, and path within the module package.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetPath()java.lang.StringgetRequiredArch()Get the required architecture for the jar.java.lang.StringgetRequiredOS()Get the required OS for the jar.intgetScope()booleanisNativeLib()booleanisRequiredArchitecture(Platform.Architecture arch)booleanisRequiredOS(Platform.OperatingSystem os)
-
-
-
Method Detail
-
getScope
public int getScope()
-
getPath
public java.lang.String getPath()
-
getRequiredOS
public java.lang.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 java.lang.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
-
-