< prev index next >

src/jdk.jpackage/share/classes/jdk/jpackage/internal/BundlerParamInfo.java

Print this page

        

*** 27,51 **** import java.util.Map; import java.util.function.BiFunction; import java.util.function.Function; /** * BundlerParamInfo<T> * * A BundlerParamInfo encapsulates an individual bundler parameter of type <T>. */ class BundlerParamInfo<T> { - /** - * The user friendly name of the parameter - */ - String name; - - /** - * A more verbose description of the parameter - */ - String description; /** * The command line and hashmap name of the parameter */ String id; --- 27,44 ---- import java.util.Map; import java.util.function.BiFunction; import java.util.function.Function; + import static jdk.jpackage.internal.StandardBundlerParam.*; + /** * BundlerParamInfo<T> * * A BundlerParamInfo encapsulates an individual bundler parameter of type <T>. */ class BundlerParamInfo<T> { /** * The command line and hashmap name of the parameter */ String id;
*** 69,94 **** /** * An optional string converter for command line arguments. */ BiFunction<String, Map<String, ? super Object>, T> stringConverter; - String getName() { - return name; - } - - void setName(String name) { - this.name = name; - } - - String getDescription() { - return description; - } - - void setDescription(String description) { - this.description = description; - } - String getID() { return id; } Class<T> getValueType() { --- 62,71 ----
< prev index next >