Class JpmsModuleUtilities
java.lang.Object
com.inductiveautomation.ignition.client.launch.util.JpmsModuleUtilities
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic class
- 
Method SummaryModifier and TypeMethodDescriptionstatic booleanallModuleConditionsMet(List<JpmsModule> modules) Returns true if the JVM is currently running with the correct package open or exported from the required modules.static booleanisExported(Module exportToModule, Module exportFromModule, List<String> packages) Returns true if the packages are marked as "exported" from the supplied module to the supplied module.static booleanisExported(Module exportToModule, String exportFromModule, List<String> packages) Returns true if the packages are marked as "exported" from the supplied module to the supplied module.static booleanisExported(String exportToModule, String exportFromModule, List<String> packages) Returns true if the packages are marked as "exported" from the supplied module to the supplied module.static booleanisExportedToUnnamed(String exportFromModule, List<String> packages) Returns true if the packages are marked as "exported" from the supplied module to the unnamed module.static booleanReturns true if the packages are marked as "open" from the supplied module to the supplied module.static booleanReturns true if the packages are marked as "open" from the supplied module to the supplied module.static booleanReturns true if the packages are marked as "open" from the supplied module to the supplied module.static booleanisOpenedToUnnamed(String openFromModule, List<String> packages) Returns true if the packages are marked as "open" from the supplied module to all unnamed modules.static booleanmoduleHasPackage(String module, String pkg) Returns true if the supplied package is in fact in the supplied module.
- 
Method Details- 
allModuleConditionsMetReturns true if the JVM is currently running with the correct package open or exported from the required modules.
- 
isOpenedToUnnamedpublic static boolean isOpenedToUnnamed(String openFromModule, List<String> packages) throws JpmsModuleUtilities.UnknownModuleException Returns true if the packages are marked as "open" from the supplied module to all unnamed modules.
- 
isOpenedpublic static boolean isOpened(String openToModule, String openFromModule, List<String> packages) throws JpmsModuleUtilities.UnknownModuleException Returns true if the packages are marked as "open" from the supplied module to the supplied module. For the unnamed module useisOpenedToUnnamed(String, List)
- 
isOpenedpublic static boolean isOpened(Module openToModule, String openFromModule, List<String> packages) throws JpmsModuleUtilities.UnknownModuleException Returns true if the packages are marked as "open" from the supplied module to the supplied module. For the unnamed module useisOpenedToUnnamed(String, List)
- 
isOpenedReturns true if the packages are marked as "open" from the supplied module to the supplied module. For the unnamed module useisOpenedToUnnamed(String, List)
- 
isExportedToUnnamedpublic static boolean isExportedToUnnamed(String exportFromModule, List<String> packages) throws JpmsModuleUtilities.UnknownModuleException Returns true if the packages are marked as "exported" from the supplied module to the unnamed module.
- 
isExportedpublic static boolean isExported(String exportToModule, String exportFromModule, List<String> packages) throws JpmsModuleUtilities.UnknownModuleException Returns true if the packages are marked as "exported" from the supplied module to the supplied module. For the unnamed module useisExportedToUnnamed(String, List)
- 
isExportedpublic static boolean isExported(Module exportToModule, String exportFromModule, List<String> packages) throws JpmsModuleUtilities.UnknownModuleException Returns true if the packages are marked as "exported" from the supplied module to the supplied module. For the unnamed module useisExportedToUnnamed(String, List)
- 
isExportedpublic static boolean isExported(Module exportToModule, Module exportFromModule, List<String> packages) Returns true if the packages are marked as "exported" from the supplied module to the supplied module. For the unnamed module useisExportedToUnnamed(String, List)
- 
moduleHasPackageReturns true if the supplied package is in fact in the supplied module.
 
-