modules/jdk.packager/src/main/java/com/oracle/tools/packager/BundlerParamInfo.java

Print this page




  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package com.oracle.tools.packager;
  27 
  28 import java.util.HashMap;
  29 import java.util.Map;
  30 import java.util.function.BiFunction;
  31 import java.util.function.Function;
  32 




  33 public class BundlerParamInfo<T> {
  34 
  35     /**
  36      * The user friendly name of the parameter
  37      */
  38     String name;
  39 
  40     /**
  41      * A more verbose description of the parameter
  42      */
  43     String description;
  44 
  45     /**
  46      * The command line and hashmap name of the parameter
  47      */
  48     String id;
  49 
  50     /**
  51      * Type of the parameter.  Typically String.class
  52      */
  53     Class<T> valueType;
  54 




  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package com.oracle.tools.packager;
  27 
  28 import java.util.HashMap;
  29 import java.util.Map;
  30 import java.util.function.BiFunction;
  31 import java.util.function.Function;
  32 
  33 /**
  34  * @deprecated use {@link ToolProvider} to locate the {@code "javapackager"} tool instead.
  35  */
  36 @Deprecated(since="10", forRemoval=true)
  37 public class BundlerParamInfo<T> {

  38     /**
  39      * The user friendly name of the parameter
  40      */
  41     String name;
  42 
  43     /**
  44      * A more verbose description of the parameter
  45      */
  46     String description;
  47 
  48     /**
  49      * The command line and hashmap name of the parameter
  50      */
  51     String id;
  52 
  53     /**
  54      * Type of the parameter.  Typically String.class
  55      */
  56     Class<T> valueType;
  57