< prev index next >

src/jdk.jlink/share/classes/jdk/tools/jlink/internal/packager/AppRuntimeImageBuilder.java

Print this page

        

*** 47,56 **** --- 47,57 ---- * arguments that jlink requires to generate this image. To create the image call the * build() method. */ public final class AppRuntimeImageBuilder { private Path outputDir = null; + private Map<String, String> launchers = Collections.emptyMap(); private List<Path> modulePath = null; private Set<String> addModules = null; private Set<String> limitModules = null; private String excludeFileList = null; private Map<String, String> userArguments = null;
*** 60,69 **** --- 61,74 ---- public void setOutputDir(Path value) { outputDir = value; } + public void setLaunchers(Map<String, String> value) { + launchers = value; + } + public void setModulePath(List<Path> value) { modulePath = value; } public void setAddModules(Set<String> value) {
*** 118,128 **** null)); } // build the image Jlink.PluginsConfiguration pluginConfig = new Jlink.PluginsConfiguration( ! plugins, new DefaultImageBuilder(outputDir), null); Jlink jlink = new Jlink(); jlink.build(jlinkConfig, pluginConfig); } /* --- 123,133 ---- null)); } // build the image Jlink.PluginsConfiguration pluginConfig = new Jlink.PluginsConfiguration( ! plugins, new DefaultImageBuilder(outputDir, launchers), null); Jlink jlink = new Jlink(); jlink.build(jlinkConfig, pluginConfig); } /*
< prev index next >