Class JPMSExportBuildItem
java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.MultiBuildItem
io.quarkus.deployment.builditem.nativeimage.JPMSExportBuildItem
A build item that indicates that a Java package should be exported using
'-J--add-exports' option to become visible to native-image
-
Constructor Summary
ConstructorsConstructorDescriptionJPMSExportBuildItem(String moduleName, String packageName) JPMSExportBuildItem(String moduleName, String packageName, GraalVM.Version exportSince) JPMSExportBuildItem(String moduleName, String packageName, GraalVM.Version exportSince, GraalVM.Version exportBefore) Creates a build item that indicates that a Java package should be exported for a specific GraalVM version range. -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanisRequired(GraalVM.Version current)
-
Constructor Details
-
JPMSExportBuildItem
-
JPMSExportBuildItem
-
JPMSExportBuildItem
public JPMSExportBuildItem(String moduleName, String packageName, GraalVM.Version exportSince, GraalVM.Version exportBefore) Creates a build item that indicates that a Java package should be exported for a specific GraalVM version range.- Parameters:
moduleName- the module namepackageName- the package nameexportSince- the version of GraalVM since which the package should be exported (inclusive)exportBefore- the version of GraalVM before which the package should be exported (exclusive)
-
-
Method Details