< prev index next >

src/jdk.jlink/share/classes/jdk/tools/jlink/plugin/Plugin.java

Print this page

        

*** 199,218 **** --- 199,223 ---- /** * Configure the plugin based on the passed configuration. * This method is called prior to invoke the plugin. * * @param config The plugin configuration. + * @throws IllegalArgumentException if a mandatory argument is missing or + * if an argument has invalid value. */ public default void configure(Map<String, String> config) { } /** * Configure the plugin based on the passed configuration. * This method is called prior to invoke the plugin. * * @param config The plugin configuration. * @param ctx The plugin context + * @throws IllegalArgumentException if a mandatory argument is missing or + * if an argument has invalid value. + * */ public default void configure(Map<String, String> config, PluginContext ctx) { configure(config); } }
< prev index next >