< prev index next >
src/jdk.jlink/share/classes/jdk/tools/jlink/plugin/ResourcePoolModule.java
Print this page
@@ -26,10 +26,11 @@
import java.lang.module.ModuleDescriptor;
import java.util.Optional;
import java.util.Set;
import java.util.stream.Stream;
+import jdk.internal.module.ModuleTarget;
/**
* Link-time representation of a module.
*/
public interface ResourcePoolModule {
@@ -55,10 +56,24 @@
* @return The module descriptor.
*/
public ModuleDescriptor descriptor();
/**
+ * The module target OS name for this module.
+ *
+ * @return The module target OS name
+ */
+ public String osName();
+
+ /**
+ * The module target OS arch for this module.
+ *
+ * @return The module target OS arch
+ */
+ public String osArch();
+
+ /**
* Retrieves all the packages located in this module.
*
* @return The set of packages.
*/
public Set<String> packages();
< prev index next >