Class JpmsModule
java.lang.Object
com.inductiveautomation.ignition.client.launch.model.JpmsModule
Data object defining a JPMS module which requires --add-opens and --add-exports clauses due to strong encapsulation
of the JVM internals.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal List<JpmsModule.Mapping>A Mapping of a JPMS module and its packages which need to be "exported" tomoduleName.final List<JpmsModule.Mapping>A Mapping of a JPMS modules and its packages which need to be "opened" tomoduleName.final StringThe module which will be given access to the supplied modules and packages.static final String -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()static JpmsModulenamed(String openTo, List<JpmsModule.Mapping> addOpens, List<JpmsModule.Mapping> addExports) static JpmsModuleunnamed(List<JpmsModule.Mapping> addOpens, List<JpmsModule.Mapping> addExports)
-
Field Details
-
UNNAMED_MODULES
- See Also:
-
moduleName
The module which will be given access to the supplied modules and packages. typically this will be the unnamed module, in which case this can be null. -
addOpens
A Mapping of a JPMS modules and its packages which need to be "opened" tomoduleName. -
addExports
A Mapping of a JPMS module and its packages which need to be "exported" tomoduleName.
-
-
Method Details
-
unnamed
public static JpmsModule unnamed(List<JpmsModule.Mapping> addOpens, List<JpmsModule.Mapping> addExports) -
named
public static JpmsModule named(String openTo, List<JpmsModule.Mapping> addOpens, List<JpmsModule.Mapping> addExports) -
openToJvmArgs
-
exportToJvmArgs
-
equals
-
hashCode
public int hashCode()
-