modules/fxpackager/src/main/java/com/oracle/bundlers/EnumeratedBundlerParam.java
Print this page
@@ -24,10 +24,11 @@
*/
package com.oracle.bundlers;
import java.util.*;
+import java.util.function.BiFunction;
import java.util.function.Function;
/**
*
* The idea for this Param is that is contains a list of possible values which the IDE
@@ -47,11 +48,11 @@
String id,
Class<T> valueType,
String[] fallbackIDs,
Function<Map<String, ? super Object>, T> defaultValueFunction,
boolean requiresUserSetting,
- Function<String, T> stringConverter,
+ BiFunction<String, Map<String, ? super Object>, T> stringConverter,
Map<String, T> possibleValues,
boolean strict) {
this.name = name;
this.description = description;
this.id = id;